summaryrefslogtreecommitdiff
path: root/devel/prc-tools-gcc
diff options
context:
space:
mode:
authorjlam <jlam>2001-06-28 05:48:19 +0000
committerjlam <jlam>2001-06-28 05:48:19 +0000
commit74262eb6d7dd5596524bc5e634663db534c8d7b2 (patch)
tree7946f51b10ea79458758cbf76906c80afe80ef09 /devel/prc-tools-gcc
parentacef1c0db737ab6e391294ff68d3bcbe9ca045dc (diff)
downloadpkgsrc-74262eb6d7dd5596524bc5e634663db534c8d7b2.tar.gz
Mark as USE_BUILDLINK_ONLY and clear CFLAGS,CXXFLAGS,CPPFLAGS before build
as they may contain arch-specific options, e.g. -mcpu=pentiumpro, that won't be understood by the xgcc built during the build phase.
Diffstat (limited to 'devel/prc-tools-gcc')
-rw-r--r--devel/prc-tools-gcc/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/devel/prc-tools-gcc/Makefile b/devel/prc-tools-gcc/Makefile
index c2e34ea7563..123f0cab862 100644
--- a/devel/prc-tools-gcc/Makefile
+++ b/devel/prc-tools-gcc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2001/06/27 05:17:41 jlam Exp $
+# $NetBSD: Makefile,v 1.5 2001/06/28 05:48:19 jlam Exp $
#
PKGNAME= prc-tools-gcc-${PRC_TOOLS_VERS}
@@ -15,7 +15,16 @@ DEPENDS+= prc-tools-binutils>=2.0:../../devel/prc-tools-binutils
ALL_TARGET= all-gcc
INSTALL_TARGET= install-gcc
+USE_BUILDLINK_ONLY= YES
+
post-install:
@${RMDIR} ${PREFIX}/m68k-palmos/include
.include "../../mk/bsd.pkg.mk"
+
+# Clear these as the xgcc built during the build phase might not recognize
+# any arch-specific options specified.
+#
+CFLAGS= # empty
+CXXFLAGS= # empty
+CPPFLAGS= # empty