SHA256
6
0
forked from pool/binutils
OBS User unknown
2009-01-29 21:44:00 +00:00
committed by Git OBS Bridge
parent 2ef459be03
commit bce2fbf800
38 changed files with 172 additions and 170 deletions

View File

@@ -20,7 +20,7 @@
Name: cross-sparc-binutils
BuildRequires: bison dejagnu flex gcc-c++ zlib-devel
Version: 2.19.51
Release: 2
Release: 4
#
# RUN_TESTS
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
@@ -75,9 +75,7 @@ Patch9: testsuite.diff
Patch10: enable-targets.diff
Patch11: use-hashtype-both-by-default.diff
Patch12: s390-pic-dso.diff
Patch13: gold.diff
Patch18: s390-calls-local.diff
Patch19: local-label-prefix.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -177,9 +175,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch10
%patch11
%patch12
%patch13
%patch18
%patch19
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@@ -225,11 +221,10 @@ EXTRA_GOLD_TARGETS=$EXTRA_LD_TARGETS
EXTRA_LD_TARGETS="$EXTRA_LD_TARGETS,spu-elf"
%endif
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-gnu-ld --with-gnu-as --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
--with-pic --build=%{HOST} \\\
--disable-ld-targets \\\
@@ -403,6 +398,8 @@ rm -rf $RPM_BUILD_ROOT
%endif
%changelog
* Tue Jan 27 2009 schwab@suse.de
- Update to head of trunk.
* Thu Jan 22 2009 schwab@suse.de
- Adjust list of extra targets.
* Mon Jan 19 2009 schwab@suse.de