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 15 19:04:24 UTC 2017

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

Log Message:
Revert "Always add "-fPIC" when linking with PKGSRC_MKPIE"

It seems to break emulators/qemu.


To generate a diff of this commit:
cvs rdiff -u -r1.187 -r1.188 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.187 pkgsrc/mk/compiler/gcc.mk:1.188
--- pkgsrc/mk/compiler/gcc.mk:1.187     Sun Nov 12 13:34:14 2017
+++ pkgsrc/mk/compiler/gcc.mk   Wed Nov 15 19:04:24 2017
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.187 2017/11/12 13:34:14 khorben Exp $
+# $NetBSD: gcc.mk,v 1.188 2017/11/15 19:04:24 khorben Exp $
 #
 # This is the compiler definition for the GNU Compiler Collection.
 #
@@ -336,7 +336,7 @@ _MKPIE_CFLAGS.gcc=  -fPIC
 # XXX for executables it should be:
 #_MKPIE_CFLAGS.gcc=    -fPIE
 # XXX for libraries a sink wrapper around gcc is required and used instead
-_MKPIE_LDFLAGS.gcc=    -fPIC -pie
+_MKPIE_LDFLAGS.gcc=    -pie
 .endif
 
 .if ${_PKGSRC_MKPIE} == "yes"



Home | Main Index | Thread Index | Old Index