rebuilt with new options [release 2.33.1-2mamba;Sat Nov 23 2019]
This commit is contained in:
parent
2be8ed8e6e
commit
ff8f3f8140
@ -5,8 +5,8 @@
|
||||
%define pkgver %(echo %version | sed "s|[a-z]*$||")
|
||||
|
||||
Name: binutils
|
||||
Version: 2.32
|
||||
Release: 1mamba
|
||||
Version: 2.33.1
|
||||
Release: 2mamba
|
||||
Summary: GNU Binary Utility Development Utilities
|
||||
Group: Development/Tools
|
||||
Vendor: openmamba
|
||||
@ -25,8 +25,8 @@ Patch6: %{name}-2.22-build-id.patch
|
||||
Patch7: %{name}-2.22-gold-fix_pointer_reference.patch
|
||||
Patch8: binutils-2.23.2-texinfo-5.1.patch
|
||||
Patch9: binutils-2.26-upstream-syslinux.patch
|
||||
Patch10: binutils-2.26-gcc-6.1.0.patch
|
||||
Patch11: binutils-2.31.1-revert-PR-23161.patch
|
||||
Patch10: binutils-2.26-gcc-6.1.0.patch
|
||||
Patch11: binutils-2.31.1-revert-PR-23161.patch
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: bash
|
||||
@ -90,22 +90,19 @@ Use this package if you need cross platform builds for %{_target_platform} targe
|
||||
|
||||
%prep
|
||||
%setup -q -n binutils-%{pkgver}
|
||||
#%patch0 -p1
|
||||
%patch1 -p1
|
||||
#%patch2 -p1
|
||||
#%patch3 -p1
|
||||
#%patch4 -p1
|
||||
#%patch5 -p0
|
||||
#%patch6 -p0
|
||||
#%patch7 -p1
|
||||
#%patch8 -p1
|
||||
#%patch9 -p1
|
||||
#%patch10 -p1
|
||||
%patch11 -p1
|
||||
|
||||
%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
|
||||
i*86 | athlon*)
|
||||
TARGETS="\
|
||||
@ -119,7 +116,7 @@ case %{target_cpu} in
|
||||
--enable-64bit-bfd \
|
||||
--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
|
||||
CONFIGURE_ADD="--enable-gold=yes --enable-ld=default"
|
||||
CONFIGURE_ADD="--enable-gold --enable-ld=default"
|
||||
%if "%{_target_platform}" != "%{_host}"
|
||||
CONFIGURE_ADD="$CONFIGURE_ADD --disable-shared"
|
||||
%endif
|
||||
@ -146,6 +143,7 @@ esac
|
||||
|
||||
cd binutils-build
|
||||
../configure \
|
||||
--with-bugurl=https://bugs.openmamba.org/ \
|
||||
--prefix=%{_prefix} \
|
||||
--libdir=%{_libdir} \
|
||||
--mandir=%{_mandir} \
|
||||
@ -154,8 +152,12 @@ cd binutils-build
|
||||
--target=%{_target_platform} \
|
||||
$TARGETS \
|
||||
--host=%{_host} \
|
||||
--enable-deterministic-archives \
|
||||
--with-system-zlib \
|
||||
--disable-werror \
|
||||
$CONFIGURE_ADD
|
||||
|
||||
|
||||
%make all tooldir=%{_prefix}
|
||||
%make info tooldir=%{_prefix}
|
||||
# tooldir=%{_prefix}/%{_target_platform}
|
||||
@ -396,6 +398,12 @@ exit 0
|
||||
%endif
|
||||
|
||||
%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
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user