summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorsbd <sbd@pkgsrc.org>2012-04-24 07:44:11 +0000
committersbd <sbd@pkgsrc.org>2012-04-24 07:44:11 +0000
commit1d8e58fa8d73b7d651578f304ea0127ebb69f4b8 (patch)
tree593ffb4c156cd34a5bb08aafe1b0d51e708edc21 /mk
parent2ad916a674361202a82fbcd147de41e7c4c564b7 (diff)
downloadpkgsrc-1d8e58fa8d73b7d651578f304ea0127ebb69f4b8.tar.gz
Add _COMPILER_ABI_FLAG.XX for gcc on Linux.
Diffstat (limited to 'mk')
-rw-r--r--mk/compiler/gcc.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/compiler/gcc.mk b/mk/compiler/gcc.mk
index 8e7c9e5f5d0..48b4ee3e268 100644
--- a/mk/compiler/gcc.mk
+++ b/mk/compiler/gcc.mk
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.118 2012/04/16 05:03:03 sbd Exp $
+# $NetBSD: gcc.mk,v 1.119 2012/04/24 07:44:11 sbd Exp $
#
# This is the compiler definition for the GNU Compiler Collection.
#
@@ -614,6 +614,11 @@ _COMPILER_ABI_FLAG.32= -m32
_COMPILER_ABI_FLAG.64= -m64
.endif
+.if ${OPSYS} == "Linux"
+_COMPILER_ABI_FLAG.32= -m32
+_COMPILER_ABI_FLAG.64= -m64
+.endif
+
.if !empty(_USE_PKGSRC_GCC:M[yY][eE][sS])
. if exists(${CCPATH})
CC_VERSION_STRING!= ${CCPATH} -v 2>&1