pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/compiler Added COMPILER_ABI_FLAGs
details: https://anonhg.NetBSD.org/pkgsrc/rev/bf5c44ee0b3a
branches: trunk
changeset: 583685:bf5c44ee0b3a
user: adam <adam%pkgsrc.org@localhost>
date: Sun Dec 26 08:12:30 2010 +0000
description:
Added COMPILER_ABI_FLAGs
diffstat:
mk/compiler/clang.mk | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 9276c4fa02f1 -r bf5c44ee0b3a mk/compiler/clang.mk
--- a/mk/compiler/clang.mk Sun Dec 26 01:02:38 2010 +0000
+++ b/mk/compiler/clang.mk Sun Dec 26 08:12:30 2010 +0000
@@ -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?= 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},
Home |
Main Index |
Thread Index |
Old Index