forked from Imagelibrary/rtems
2002-04-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* mkbinutilspec.in: Add support for empty patch-version (no patch).
* mkgcc3newlibspec.in: Ditto.
* setup: Fix gcc3*_versions handling.
* setup.def: binutils_patch_version=.
* binutils/binutils.add: Reflect changes to mkbinutilspec.in,
Use "%{_target_os}" != "%{_build_os}" to detect cross-building.
* binutils/target-binutils.add: Comment out c++filt.
* gcc3newlib/base-gcc.add: Remove duplicate libm.info.
* gcc3newlib/gccnewlib.add: Reflect changes to mkgcc3newlibspec.in.
Use "%{_target_os}" != "%{_build_os}" to detect cross-building.
Comment out gcc-2.95.x hacks.
Remove *.la from installed files.
* gcc3newlib/gccnewlib_c_only.spec.in: Remove.
This commit is contained in:
@@ -22,8 +22,9 @@ Prefix: %{_prefix}
|
||||
BuildRoot: %{_tmppath}/@target_alias@-binutils
|
||||
|
||||
Version: @binutils_version@
|
||||
Source0: ftp://ftp.gnu.org/pub/gnu/binutils/binutils-@binutils_version@.tar.bz2
|
||||
# Patch0: binutils-@binutils_version@-rtems-@binutils_patch_version@.diff
|
||||
Source0: ftp://ftp.gnu.org/pub/gnu/binutils/binutils-@binutils_version@.tar.bz2
|
||||
@PATCH1@
|
||||
|
||||
#
|
||||
# The original sources are not included in the source RPM.
|
||||
# If we included them, then the source RPMs for each target
|
||||
@@ -46,13 +47,12 @@ This is binutils sources with patches for RTEMS.
|
||||
%prep
|
||||
# untar the sources inside @target_alias@-binutils
|
||||
%setup -c -n @target_alias@-binutils
|
||||
|
||||
# %patch0 -p0
|
||||
@PATCH2@
|
||||
test -d build || mkdir build
|
||||
|
||||
%build
|
||||
# HACK: This should be %{target} != %{build}, but SuSE's rpm screws it.
|
||||
%if "%{target_os}" != "%{build_os}"
|
||||
%if "%{_target_os}" != "%{_build_os}"
|
||||
CONFIGURE_ARGS="--build=%{_build} --host=%{_target}"
|
||||
%endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user