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: sjmulder
Date: Sat May 30 22:45:36 UTC 2020
Modified Files:
pkgsrc/mk/compiler: gcc.mk
Log Message:
mk/compiler: Fix version check for GCC 10
Caused SSP flags to be omitted in GCC 10. Check flipped because all new
GCC versions can be expected to support it.
To generate a diff of this commit:
cvs rdiff -u -r1.210 -r1.211 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.210 pkgsrc/mk/compiler/gcc.mk:1.211
--- pkgsrc/mk/compiler/gcc.mk:1.210 Mon Mar 30 09:39:24 2020
+++ pkgsrc/mk/compiler/gcc.mk Sat May 30 22:45:36 2020
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.210 2020/03/30 09:39:24 nia Exp $
+# $NetBSD: gcc.mk,v 1.211 2020/05/30 22:45:36 sjmulder Exp $
#
# This is the compiler definition for the GNU Compiler Collection.
#
@@ -976,7 +976,7 @@ CC_VERSION= ${_GCC_PKG}
.endif
# The user can choose the level of stack smashing protection.
-.if !empty(CC_VERSION:Mgcc-[4-9]*)
+.if empty(CC_VERSION:Mgcc-[1-3].*)
. if ${PKGSRC_USE_SSP} == "all"
_SSP_CFLAGS= -fstack-protector-all
. elif ${PKGSRC_USE_SSP} == "strong"
Home |
Main Index |
Thread Index |
Old Index