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]*$||")
|
%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
|
||||||
@ -25,8 +25,8 @@ Patch6: %{name}-2.22-build-id.patch
|
|||||||
Patch7: %{name}-2.22-gold-fix_pointer_reference.patch
|
Patch7: %{name}-2.22-gold-fix_pointer_reference.patch
|
||||||
Patch8: binutils-2.23.2-texinfo-5.1.patch
|
Patch8: binutils-2.23.2-texinfo-5.1.patch
|
||||||
Patch9: binutils-2.26-upstream-syslinux.patch
|
Patch9: binutils-2.26-upstream-syslinux.patch
|
||||||
Patch10: binutils-2.26-gcc-6.1.0.patch
|
Patch10: binutils-2.26-gcc-6.1.0.patch
|
||||||
Patch11: binutils-2.31.1-revert-PR-23161.patch
|
Patch11: binutils-2.31.1-revert-PR-23161.patch
|
||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: bash
|
BuildRequires: bash
|
||||||
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user