]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
gcc: Respect the --build option.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 6 Feb 2011 13:42:44 +0000 (14:42 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 6 Feb 2011 13:42:44 +0000 (14:42 +0100)
pkgs/core/gcc/gcc.nm

index 61b7f614cb04396ea560c24e6a5dd744ede27185..92d3a5b35fb7ad8bcf28ae4790f2831a50051236 100644 (file)
@@ -26,7 +26,7 @@ include $(PKGROOT)/Include
 
 PKG_NAME       = gcc
 PKG_VER        = 4.5.2
-PKG_REL        = 1
+PKG_REL        = 2
 
 PKG_MAINTAINER = Michael Tremer <michael.tremer@ipfire.org>
 PKG_GROUP      = Development/Compilers
@@ -146,6 +146,7 @@ define STAGE_BUILD
                TCFLAGS="$(CFLAGS)" \
                ../$(THISAPP)/configure \
                        $(CONFIG_CPU) \
+                       --build=$(DISTRO_MACHINE) \
                        --prefix=/usr \
                        --libexecdir=/usr/lib \
                        --mandir=/usr/share/man \