diff options
author | adam <adam> | 2010-12-26 08:12:30 +0000 |
---|---|---|
committer | adam <adam> | 2010-12-26 08:12:30 +0000 |
commit | e981ab9d950752c9fb0e258bb4797006c228e0ee (patch) | |
tree | 8badde6eb3e25170301d9d0aa1b57c57869bd972 | |
parent | 38f1a6ac188e7a710b09ea9c3f2d46a94089dced (diff) | |
download | pkgsrc-e981ab9d950752c9fb0e258bb4797006c228e0ee.tar.gz |
Added COMPILER_ABI_FLAGs
-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}, |