From: Michael Tremer Date: Wed, 2 Nov 2011 15:22:09 +0000 (+0100) Subject: binutils: Package libiberty.a. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68b0def9cd4f394ef715101bed5d06d84599ca75;p=ipfire-3.x.git binutils: Package libiberty.a. Fixes #263. --- diff --git a/binutils/binutils.nm b/binutils/binutils.nm index bb6919a62..75158eca9 100644 --- a/binutils/binutils.nm +++ b/binutils/binutils.nm @@ -5,7 +5,7 @@ name = binutils version = 2.21.51.0.8 -release = 2 +release = 3 maintainer = Michael Tremer groups = Development/Tools @@ -45,19 +45,19 @@ build build BINUTILS_TARGET_PLATFORM=$(echo "%{DISTRO_MACHINE}" | sed -e "s/-gnu//") - cd %{DIR_SRC}/binutils-build && \ - ../%{thisapp}/configure \ - --host=${BINUTILS_TARGET_PLATFORM} \ - --build=${BINUTILS_TARGET_PLATFORM} \ - --target=${BINUTILS_TARGET_PLATFORM} \ - --prefix=/usr \ - --mandir=/usr/share/man \ - --enable-shared \ - --disable-nls \ - --disable-werror \ - --disable-static - - cd %{DIR_SRC}/binutils-build && make tooldir=/usr %{PARALLELISMFLAGS} + cd %{DIR_SRC}/binutils-build + ../%{thisapp}/configure \ + --host=${BINUTILS_TARGET_PLATFORM} \ + --build=${BINUTILS_TARGET_PLATFORM} \ + --target=${BINUTILS_TARGET_PLATFORM} \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --enable-shared \ + --disable-nls \ + --disable-werror \ + --disable-static + + make tooldir=/usr %{PARALLELISMFLAGS} end #def test @@ -71,6 +71,11 @@ build cp -fv %{DIR_APP}/include/libiberty.h %{BUILDROOT}/usr/include end + + # Keep static version of libiberty. + keep_libraries + /usr/lib/libiberty.a + end end packages