summaryrefslogtreecommitdiff
path: root/mk/compiler
diff options
context:
space:
mode:
authoradam <adam>2010-12-26 08:12:30 +0000
committeradam <adam>2010-12-26 08:12:30 +0000
commitd716682a41d5298ef849cf0805b3871a30363425 (patch)
tree8badde6eb3e25170301d9d0aa1b57c57869bd972 /mk/compiler
parent62badf9fb44a409d6944016a5c08599736a8bb69 (diff)
downloadpkgsrc-d716682a41d5298ef849cf0805b3871a30363425.tar.gz
Added COMPILER_ABI_FLAGs
Diffstat (limited to 'mk/compiler')
-rw-r--r--mk/compiler/clang.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/compiler/clang.mk b/mk/compiler/clang.mk
index 7c4026589ca..c5a493a702e 100644
--- a/mk/compiler/clang.mk
+++ b/mk/compiler/clang.mk
@@ -1,4 +1,4 @@
-# $NetBSD: clang.mk,v 1.3 2010/11/03 18:05:05 adam Exp $
+# $NetBSD: clang.mk,v 1.4 2010/12/26 08:12:30 adam Exp $
#
# This is the compiler definition for the clang compiler.
#
@@ -49,6 +49,8 @@ CC_VERSION_STRING?= ${CC_VERSION}
CC_VERSION?= clang
.endif
+_COMPILER_ABI_FLAG.32= -m32
+_COMPILER_ABI_FLAG.64= -m64
_COMPILER_LD_FLAG= -Wl,
_LINKER_RPATH_FLAG= -rpath
_COMPILER_RPATH_FLAG= ${_COMPILER_LD_FLAG}${_LINKER_RPATH_FLAG},