Changeset 0487ce6 in rtems-source-builder


Ignore:
Timestamp:
Aug 10, 2019, 1:56:12 PM (13 days ago)
Author:
Jiri Gaisler <jiri@…>
Branches:
master
Children:
5a0dba7
Parents:
abc5401
git-author:
Jiri Gaisler <jiri@…> (08/10/19 13:56:12)
git-committer:
Jiri Gaisler <jiri@…> (08/10/19 15:52:36)
Message:

Revert commit that breaks sis installation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source-builder/config/sis-2-1.cfg

    rabc5401 r0487ce6  
    3232  cd sis-%{sis_version}
    3333
     34  ac_prefix=%{_prefix}
     35
     36  if test "%{_build}" != "%{_host}" ; then
     37    CFLAGS_FOR_BUILD="-g -O2 -Wall"
     38  fi
     39  export CFLAGS CFLAGS_FOR_BUILD CC
     40
    3441  if test "%{_target}" != "" ; then
    3542    SIS_PREFIX="%{_target}-"
    3643  fi
    37 
    38   %{host_build_flags}
    39 
     44  CFLAGS="$SB_CFLAGS" \
    4045  ./configure \
    41     --build=%{_build} --host=%{_host} --target=%{_target} \
     46    --build=%{_build} --host=%{_host} \
    4247    --program-prefix="$SIS_PREFIX" \
    43     --prefix=${_prefix}
     48    --prefix=${ac_prefix}
    4449
    4550  %{__make} %{?_smp_mflags} all
     51
     52  unset CFLAGS_FOR_BUILD
    4653
    4754  cd ${build_top}
Note: See TracChangeset for help on using the changeset viewer.