pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk Prepend the ABI flags to allow interested programs ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5ee223e67c79
branches:  trunk
changeset: 354797:5ee223e67c79
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Nov 10 20:59:43 2016 +0000

description:
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:

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

diffs (22 lines):

diff -r cd22f25dcb53 -r 5ee223e67c79 mk/compiler.mk
--- a/mk/compiler.mk    Thu Nov 10 20:58:46 2016 +0000
+++ b/mk/compiler.mk    Thu Nov 10 20:59:43 2016 +0000
@@ -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 @@
 _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



Home | Main Index | Thread Index | Old Index