pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk/compiler



Module Name:    pkgsrc
Committed By:   khorben
Date:           Wed Nov 29 22:55:15 UTC 2017

Modified Files:
        pkgsrc/mk/compiler: gcc.mk

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

>From spz@, thanks!


To generate a diff of this commit:
cvs rdiff -u -r1.188 -r1.189 pkgsrc/mk/compiler/gcc.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/compiler/gcc.mk
diff -u pkgsrc/mk/compiler/gcc.mk:1.188 pkgsrc/mk/compiler/gcc.mk:1.189
--- pkgsrc/mk/compiler/gcc.mk:1.188     Wed Nov 15 19:04:24 2017
+++ pkgsrc/mk/compiler/gcc.mk   Wed Nov 29 22:55:15 2017
@@ -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 @@ _MKPIE_LDFLAGS.gcc= -pie
 _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