mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
devel/sis: Fix building the SIS on FreeBSD
- Update to SIS 2.17 which has internal readline support for the hosts which do not have readline. Closes #3763
This commit is contained in:
@@ -8,11 +8,10 @@
|
||||
|
||||
%include %{_configdir}/base.cfg
|
||||
|
||||
%define sis_version 2.16
|
||||
%hash sha256 sis-%{sis_version}.tar.bz2 37cdb8f5cc1255e273423f580f5c76755e5851dabb677f6bc1100f27557b8dce
|
||||
%define sis_version 2.17
|
||||
%hash sha256 sis-%{sis_version}.tar.bz2 5125a8924688223b8341c2c26f51490069035da764e43f422c3fc119ddcae1a3
|
||||
|
||||
#
|
||||
# The sis build instructions. We use 2.15
|
||||
#
|
||||
%include %{_configdir}/sis-2-1.cfg
|
||||
|
||||
|
@@ -14,4 +14,4 @@ tools/rtems-gdb-8.2.1-1
|
||||
tools/rtems-binutils-2.32
|
||||
tools/rtems-gcc-9.1.0-newlib-5c2a3661c
|
||||
tools/rtems-tools-5-1
|
||||
devel/sis-2-1.cfg
|
||||
devel/sis-2-1
|
||||
|
@@ -2,5 +2,4 @@
|
||||
%define rtems_arch sparc
|
||||
%define with_libgomp
|
||||
%include 5/rtems-default.bset
|
||||
devel/sis-2-1.cfg
|
||||
|
||||
devel/sis-2-1
|
||||
|
@@ -31,26 +31,19 @@ Release: %{release}
|
||||
|
||||
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
|
||||
SIS_PREFIX="%{_target}-"
|
||||
fi
|
||||
CFLAGS="$SB_CFLAGS" \
|
||||
|
||||
%{host_build_flags}
|
||||
|
||||
./configure \
|
||||
--build=%{_build} --host=%{_host} \
|
||||
--build=%{_build} --host=%{_host} --target=%{_target} \
|
||||
--program-prefix="$SIS_PREFIX" \
|
||||
--prefix=${ac_prefix}
|
||||
--prefix=${_prefix}
|
||||
|
||||
%{__make} %{?_smp_mflags} all
|
||||
|
||||
unset CFLAGS_FOR_BUILD
|
||||
|
||||
cd ${build_top}
|
||||
|
||||
%install
|
||||
|
Reference in New Issue
Block a user