pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Pass down ABI flags for cwrappers too.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/818d473395d0
branches:  trunk
changeset: 643018:818d473395d0
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Dec 09 23:43:29 2014 +0000

description:
Pass down ABI flags for cwrappers too.

diffstat:

 mk/compiler.mk |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 0f8f0fa59533 -r 818d473395d0 mk/compiler.mk
--- a/mk/compiler.mk    Tue Dec 09 22:37:11 2014 +0000
+++ b/mk/compiler.mk    Tue Dec 09 23:43:29 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: compiler.mk,v 1.81 2013/07/07 09:06:23 marino Exp $
+# $NetBSD: compiler.mk,v 1.82 2014/12/09 23:43:29 joerg Exp $
 #
 # This Makefile fragment implements handling for supported C/C++/Fortran
 # compilers.
@@ -161,6 +161,9 @@
 _WRAP_EXTRA_ARGS.CC+=  ${_COMPILER_ABI_FLAG.${ABI}}
 _WRAP_EXTRA_ARGS.CXX+= ${_COMPILER_ABI_FLAG.${ABI}}
 _WRAP_EXTRA_ARGS.FC+=  ${_COMPILER_ABI_FLAG.${ABI}}
+CWRAPPERS_APPEND.cc+=  ${_COMPILER_ABI_FLAG.${ABI}}
+CWRAPPERS_APPEND.cxx+= ${_COMPILER_ABI_FLAG.${ABI}}
+CWRAPPERS_APPEND.f77+= ${_COMPILER_ABI_FLAG.${ABI}}
 .endif
 
 # If the languages are not requested, force them not to be available



Home | Main Index | Thread Index | Old Index