From: Michael Tremer Date: Sun, 6 Feb 2011 13:42:44 +0000 (+0100) Subject: gcc: Respect the --build option. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b0d7bc122889931b73e6f73eda1fe054c45e242;p=ipfire-3.x.git gcc: Respect the --build option. --- diff --git a/pkgs/core/gcc/gcc.nm b/pkgs/core/gcc/gcc.nm index 61b7f614c..92d3a5b35 100644 --- a/pkgs/core/gcc/gcc.nm +++ b/pkgs/core/gcc/gcc.nm @@ -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 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 \