pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/compiler Also append the CFLAGS for MKPIE for c++(1)



details:   https://anonhg.NetBSD.org/pkgsrc/rev/067e533eff86
branches:  trunk
changeset: 372219:067e533eff86
user:      khorben <khorben%pkgsrc.org@localhost>
date:      Wed Nov 29 22:55:15 2017 +0000

description:
Also append the CFLAGS for MKPIE for c++(1)

>From spz@, thanks!

diffstat:

 mk/compiler/gcc.mk |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r bf48982ea403 -r 067e533eff86 mk/compiler/gcc.mk
--- a/mk/compiler/gcc.mk        Wed Nov 29 18:29:35 2017 +0000
+++ b/mk/compiler/gcc.mk        Wed Nov 29 22:55:15 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.188 2017/11/15 19:04:24 khorben Exp $
+# $NetBSD: gcc.mk,v 1.189 2017/11/29 22:55:15 khorben Exp $
 #
 # This is the compiler definition for the GNU Compiler Collection.
 #
@@ -343,6 +343,7 @@
 _GCC_CFLAGS+=          ${_MKPIE_CFLAGS.gcc}
 #_GCC_LDFLAGS+=                ${_MKPIE_LDFLAGS.gcc}
 CWRAPPERS_APPEND.cc+=  ${_MKPIE_CFLAGS.gcc}
+CWRAPPERS_APPEND.cxx+= ${_MKPIE_CFLAGS.gcc}
 # this differs for libraries and executables (handled in mk/cwrappers.mk)
 # CWRAPPERS_APPEND.ld+=        ${_MKPIE_LDFLAGS.gcc}
 .endif



Home | Main Index | Thread Index | Old Index