summaryrefslogtreecommitdiff
path: root/mk/compiler
diff options
context:
space:
mode:
authorsbd <sbd>2012-04-13 02:30:45 +0000
committersbd <sbd>2012-04-13 02:30:45 +0000
commit598b9033a75e65c4521cc766b85c1018b539d8e9 (patch)
tree384cec7a3ec0a7249aa01f281cdd9893ae64bd2a /mk/compiler
parent57e8d82633fd2aa57e5953c8b1b94b9f3cf97dc3 (diff)
downloadpkgsrc-598b9033a75e65c4521cc766b85c1018b539d8e9.tar.gz
Inorder to use a native gcc there must be a builtin gcc.
Diffstat (limited to 'mk/compiler')
-rw-r--r--mk/compiler/gcc.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/compiler/gcc.mk b/mk/compiler/gcc.mk
index 9b844e354a4..e255c6804a1 100644
--- a/mk/compiler/gcc.mk
+++ b/mk/compiler/gcc.mk
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.114 2012/03/06 11:39:55 hans Exp $
+# $NetBSD: gcc.mk,v 1.115 2012/04/13 02:30:45 sbd Exp $
#
# This is the compiler definition for the GNU Compiler Collection.
#
@@ -393,7 +393,7 @@ _USE_GCC_SHLIB?= yes
. endif
.endif
-.if !empty(USE_NATIVE_GCC:M[yY][eE][sS])
+.if !empty(USE_NATIVE_GCC:M[yY][eE][sS]) && !empty(_IS_BUILTIN_GCC:M[yY][eE][sS])
_USE_PKGSRC_GCC= no
.endif