diff options
author | joerg <joerg@pkgsrc.org> | 2014-12-09 23:43:29 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2014-12-09 23:43:29 +0000 |
commit | 4f1325a4d220c5102cc22e6e89a839aed439743f (patch) | |
tree | ab9b299a8eb6b9bd9cb670c2ae9dc54ae4ef603f /mk | |
parent | 65f80e184058b18e5fdf7cbd8d7c28ab38ebcb29 (diff) | |
download | pkgsrc-4f1325a4d220c5102cc22e6e89a839aed439743f.tar.gz |
Pass down ABI flags for cwrappers too.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/compiler.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/compiler.mk b/mk/compiler.mk index 7092199c0c3..9e49242ac63 100644 --- a/mk/compiler.mk +++ b/mk/compiler.mk @@ -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 @@ ${_var_}:= ${${_var_}:C/^/_asdf_/1:M_asdf_*:S/^_asdf_//:T} ${${_var_}:C/^/_asdf_ _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 |