]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
binutils: Fix cross-compiling issue.
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 15 Feb 2012 18:12:08 +0000 (13:12 -0500)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 15 Feb 2012 18:12:08 +0000 (13:12 -0500)
Because of a wrong configuration of --host, --build and --target
the package was not correctly built and the linker was missing.

Additionally to this change, support for plugins was enabled,
the bugurl set and 64-bit-bfd is enabled, too.

binutils/binutils.nm

index 2ed2fd1514a3b6ec71bfcdcb1fde8674387b3f04..290baf0efd326735f02787d84fb987456225557f 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = binutils
 version    = 2.22
-release    = 2
+release    = 3
 
 maintainer = Michael Tremer <michael.tremer@ipfire.org>
 groups     = Development/Tools
@@ -42,9 +42,14 @@ build
        end
 
        configure_options += \
+               --build=%{DISTRO_BUILDTARGET} \
+               --host=%{DISTRO_BUILDTARGET} \
                --target=%{DISTRO_BUILDTARGET} \
                --disable-werror \
-               --disable-static
+               --disable-static \
+               --enable-64-bit-bfd \
+               --enable-plugins \
+               --with-bugurl="http://bugzilla.ipfire.org/"
 
        build
                cd %{DIR_SRC}/binutils-build