aboutsummaryrefslogtreecommitdiff
path: root/lang/gcc-ooo
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1998-09-27 01:56:14 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1998-09-27 01:56:14 +0000
commit1beb04227cb8428c2a59e33027788a72ef1a1ffa (patch)
tree610a976e14d2d91810d2e08ff82c1326f9ed9598 /lang/gcc-ooo
parent2ee0fae84024bd692210471e0cfbb6084ccc709b (diff)
downloadports-1beb04227cb8428c2a59e33027788a72ef1a1ffa.tar.gz
ports-1beb04227cb8428c2a59e33027788a72ef1a1ffa.zip
Notes
Diffstat (limited to 'lang/gcc-ooo')
-rw-r--r--lang/gcc-ooo/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/lang/gcc-ooo/Makefile b/lang/gcc-ooo/Makefile
index 39bd266c5987..aebd9611b1eb 100644
--- a/lang/gcc-ooo/Makefile
+++ b/lang/gcc-ooo/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