rebuilt with new options [release 2.33.1-2mamba;Sat Nov 23 2019]

This commit is contained in:
Silvan Calarco 2024-01-05 20:48:09 +01:00
parent 2be8ed8e6e
commit ff8f3f8140

View File

@ -5,8 +5,8 @@
%define pkgver %(echo %version | sed "s|[a-z]*$||") %define pkgver %(echo %version | sed "s|[a-z]*$||")
Name: binutils Name: binutils
Version: 2.32 Version: 2.33.1
Release: 1mamba Release: 2mamba
Summary: GNU Binary Utility Development Utilities Summary: GNU Binary Utility Development Utilities
Group: Development/Tools Group: Development/Tools
Vendor: openmamba Vendor: openmamba
@ -90,22 +90,19 @@ Use this package if you need cross platform builds for %{_target_platform} targe
%prep %prep
%setup -q -n binutils-%{pkgver} %setup -q -n binutils-%{pkgver}
#%patch0 -p1
%patch1 -p1 %patch1 -p1
#%patch2 -p1
#%patch3 -p1
#%patch4 -p1
#%patch5 -p0
#%patch6 -p0
#%patch7 -p1
#%patch8 -p1
#%patch9 -p1
#%patch10 -p1
%patch11 -p1 %patch11 -p1
%build %build
install -d binutils-build install -d binutils-build
CONFIGURE_ADD="--enable-gold=default --enable-plugins --enable-ld --enable-shared" CONFIGURE_ADD="--enable-gold \
--enable-plugins \
--enable-ld=default \
--enable-shared \
--enable-lto \
--enable-relro \
--enable-threads"
case %{target_cpu} in case %{target_cpu} in
i*86 | athlon*) i*86 | athlon*)
TARGETS="\ TARGETS="\
@ -119,7 +116,7 @@ case %{target_cpu} in
--enable-64bit-bfd \ --enable-64bit-bfd \
--enable-targets=powerpc64-linux,i386-linux,x86_64-linux,arm-linux,armelf-linux-eabi" --enable-targets=powerpc64-linux,i386-linux,x86_64-linux,arm-linux,armelf-linux-eabi"
# gold is not well supported for ppc, gcc build fails. Use bfd as default # gold is not well supported for ppc, gcc build fails. Use bfd as default
CONFIGURE_ADD="--enable-gold=yes --enable-ld=default" CONFIGURE_ADD="--enable-gold --enable-ld=default"
%if "%{_target_platform}" != "%{_host}" %if "%{_target_platform}" != "%{_host}"
CONFIGURE_ADD="$CONFIGURE_ADD --disable-shared" CONFIGURE_ADD="$CONFIGURE_ADD --disable-shared"
%endif %endif
@ -146,6 +143,7 @@ esac
cd binutils-build cd binutils-build
../configure \ ../configure \
--with-bugurl=https://bugs.openmamba.org/ \
--prefix=%{_prefix} \ --prefix=%{_prefix} \
--libdir=%{_libdir} \ --libdir=%{_libdir} \
--mandir=%{_mandir} \ --mandir=%{_mandir} \
@ -154,8 +152,12 @@ cd binutils-build
--target=%{_target_platform} \ --target=%{_target_platform} \
$TARGETS \ $TARGETS \
--host=%{_host} \ --host=%{_host} \
--enable-deterministic-archives \
--with-system-zlib \
--disable-werror \
$CONFIGURE_ADD $CONFIGURE_ADD
%make all tooldir=%{_prefix} %make all tooldir=%{_prefix}
%make info tooldir=%{_prefix} %make info tooldir=%{_prefix}
# tooldir=%{_prefix}/%{_target_platform} # tooldir=%{_prefix}/%{_target_platform}
@ -396,6 +398,12 @@ exit 0
%endif %endif
%changelog %changelog
* Sat Nov 23 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.33.1-2mamba
- rebuilt with new options
* Sat Oct 12 2019 Automatic Build System <autodist@mambasoft.it> 2.33.1-1mamba
- automatic version update by autodist
* Sat Feb 02 2019 Automatic Build System <autodist@mambasoft.it> 2.32-1mamba * Sat Feb 02 2019 Automatic Build System <autodist@mambasoft.it> 2.32-1mamba
- automatic version update by autodist - automatic version update by autodist