diff options
author | khorben <khorben@pkgsrc.org> | 2017-11-15 19:04:24 +0000 |
---|---|---|
committer | khorben <khorben@pkgsrc.org> | 2017-11-15 19:04:24 +0000 |
commit | ee8217410a7afcd28ae0c14bd50ba4c290f431ac (patch) | |
tree | bb2a24830bb3ae258452b29bbafaaf137c974a8e /mk | |
parent | 541c62758306f3918d762839b285bbfa60a8cb3b (diff) | |
download | pkgsrc-ee8217410a7afcd28ae0c14bd50ba4c290f431ac.tar.gz |
Revert "Always add "-fPIC" when linking with PKGSRC_MKPIE"
It seems to break emulators/qemu.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/compiler/gcc.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/compiler/gcc.mk b/mk/compiler/gcc.mk index be32fda368e..83850becbf2 100644 --- a/mk/compiler/gcc.mk +++ b/mk/compiler/gcc.mk @@ -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" |