aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc47/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/gcc47/Makefile')
-rw-r--r--lang/gcc47/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/lang/gcc47/Makefile b/lang/gcc47/Makefile
index 39bd266c598..aebd9611b1e 100644
--- a/lang/gcc47/Makefile
+++ b/lang/gcc47/Makefile
@@ -19,7 +19,6 @@ MAINTAINER= obrien@FreeBSD.org
EGCS_REV= egcs-2.92.07
LIBSTDCPP_REV= 2.9.0
PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST}
-GNUHOST= i386-unknown-freebsd
GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld ${GNUHOST} \
@@ -68,3 +67,9 @@ post-install:
.endfor
.include <bsd.port.mk>
+
+.if (${PORTOBJFORMAT} == "elf")
+GNUHOST= i386-unknown-freebsdelf
+.else
+GNUHOST= i386-unknown-freebsd
+.endif
lzma?h=gnome-3.24&id=a6bc98f9877906e1ac2f125afcd52cbe49c1dcdf'>Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-201-0/+1 * Finish converting the whole ports tree to USES=pkgconfigbapt2013-04-231-1/+1 * - Update to my new FreeBSD addressdbn2013-01-17