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: nia
Date: Sun Aug 1 12:35:06 UTC 2021
Modified Files:
pkgsrc/mk/compiler: gcc.mk
Log Message:
gcc.mk: Remove bogus test for NetBSD.
To generate a diff of this commit:
cvs rdiff -u -r1.224 -r1.225 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.224 pkgsrc/mk/compiler/gcc.mk:1.225
--- pkgsrc/mk/compiler/gcc.mk:1.224 Tue Apr 6 12:07:57 2021
+++ pkgsrc/mk/compiler/gcc.mk Sun Aug 1 12:35:06 2021
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.224 2021/04/06 12:07:57 nia Exp $
+# $NetBSD: gcc.mk,v 1.225 2021/08/01 12:35:06 nia Exp $
#
# This is the compiler definition for the GNU Compiler Collection.
#
@@ -383,15 +383,13 @@ _WRAP_EXTRA_ARGS.CC+= -std=gnu99
CWRAPPERS_APPEND.cc+= -std=gnu99
.endif
-.if ${OPSYS} == "NetBSD"
+.if ${_PKGSRC_MKPIE} == "yes"
_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= -pie
-.endif
-.if ${_PKGSRC_MKPIE} == "yes"
_GCC_CFLAGS+= ${_MKPIE_CFLAGS.gcc}
#_GCC_LDFLAGS+= ${_MKPIE_LDFLAGS.gcc}
CWRAPPERS_APPEND.cc+= ${_MKPIE_CFLAGS.gcc}
Home |
Main Index |
Thread Index |
Old Index