diff options
author | joerg <joerg@pkgsrc.org> | 2016-11-10 20:59:43 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2016-11-10 20:59:43 +0000 |
commit | 86becfaa89ed10a527b093021883b340e8946491 (patch) | |
tree | 760bbf644b112ba3704fd042b5b7162a45c5465b /mk | |
parent | 7732f0530c7433cf066cc6f95a74065638d03199 (diff) | |
download | pkgsrc-86becfaa89ed10a527b093021883b340e8946491.tar.gz |
Prepend the ABI flags to allow interested programs like qemu to
overwrite them on demand. This allows building ROM images and the like
with a special target ABI. Discussed a while ago with jperkin.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/compiler.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mk/compiler.mk b/mk/compiler.mk index 9e49242ac63..246da30a282 100644 --- a/mk/compiler.mk +++ b/mk/compiler.mk @@ -1,4 +1,4 @@ -# $NetBSD: compiler.mk,v 1.82 2014/12/09 23:43:29 joerg Exp $ +# $NetBSD: compiler.mk,v 1.83 2016/11/10 20:59:43 joerg Exp $ # # This Makefile fragment implements handling for supported C/C++/Fortran # compilers. @@ -161,9 +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}} +CWRAPPERS_PREPEND.cc+= ${_COMPILER_ABI_FLAG.${ABI}} +CWRAPPERS_PREPEND.cxx+= ${_COMPILER_ABI_FLAG.${ABI}} +CWRAPPERS_PREPEND.f77+= ${_COMPILER_ABI_FLAG.${ABI}} .endif # If the languages are not requested, force them not to be available |