mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
Revert commit that breaks sis installation
This commit is contained in:
parent
abc540105d
commit
0487ce69ba
@ -31,19 +31,26 @@ Release: %{release}
|
|||||||
|
|
||||||
cd sis-%{sis_version}
|
cd sis-%{sis_version}
|
||||||
|
|
||||||
|
ac_prefix=%{_prefix}
|
||||||
|
|
||||||
|
if test "%{_build}" != "%{_host}" ; then
|
||||||
|
CFLAGS_FOR_BUILD="-g -O2 -Wall"
|
||||||
|
fi
|
||||||
|
export CFLAGS CFLAGS_FOR_BUILD CC
|
||||||
|
|
||||||
if test "%{_target}" != "" ; then
|
if test "%{_target}" != "" ; then
|
||||||
SIS_PREFIX="%{_target}-"
|
SIS_PREFIX="%{_target}-"
|
||||||
fi
|
fi
|
||||||
|
CFLAGS="$SB_CFLAGS" \
|
||||||
%{host_build_flags}
|
|
||||||
|
|
||||||
./configure \
|
./configure \
|
||||||
--build=%{_build} --host=%{_host} --target=%{_target} \
|
--build=%{_build} --host=%{_host} \
|
||||||
--program-prefix="$SIS_PREFIX" \
|
--program-prefix="$SIS_PREFIX" \
|
||||||
--prefix=${_prefix}
|
--prefix=${ac_prefix}
|
||||||
|
|
||||||
%{__make} %{?_smp_mflags} all
|
%{__make} %{?_smp_mflags} all
|
||||||
|
|
||||||
|
unset CFLAGS_FOR_BUILD
|
||||||
|
|
||||||
cd ${build_top}
|
cd ${build_top}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user