From 5ce4f24c09b871c88b43211fbb3947c7375251c1 Mon Sep 17 00:00:00 2001 From: obrien Date: Sun, 27 Sep 1998 01:56:14 +0000 Subject: Build properly on ELF systems. --- lang/gcc42/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'lang/gcc42') diff --git a/lang/gcc42/Makefile b/lang/gcc42/Makefile index 39bd266..aebd961 100644 --- a/lang/gcc42/Makefile +++ b/lang/gcc42/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 + +.if (${PORTOBJFORMAT} == "elf") +GNUHOST= i386-unknown-freebsdelf +.else +GNUHOST= i386-unknown-freebsd +.endif -- cgit v1.1