diff options
author | adam <adam@pkgsrc.org> | 2010-12-26 08:12:30 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2010-12-26 08:12:30 +0000 |
commit | ea241affc4b8bdb8e5043c111faa2c1e88206ef7 (patch) | |
tree | 8badde6eb3e25170301d9d0aa1b57c57869bd972 /mk/compiler | |
parent | 8b668822c95f4952af3b34f2d8bd12af37a68a12 (diff) | |
download | pkgsrc-ea241affc4b8bdb8e5043c111faa2c1e88206ef7.tar.gz |
Added COMPILER_ABI_FLAGs
Diffstat (limited to 'mk/compiler')
-rw-r--r-- | mk/compiler/clang.mk | 4 |
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}, |