pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk/platform



Module Name:    pkgsrc
Committed By:   maya
Date:           Mon Aug  7 23:44:53 UTC 2017

Modified Files:
        pkgsrc/mk/platform: NetBSD.mk

Log Message:
Disable fortify on netbsd<6.

This appears to be causing issues with pkgsrc GCC attempting to insert
builtins it does not have, because we don't build libssp. unbreaks icu build.

there may be more problems from this issue in the future, but netbsd-7 is
better tested now.


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 pkgsrc/mk/platform/NetBSD.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/platform/NetBSD.mk
diff -u pkgsrc/mk/platform/NetBSD.mk:1.53 pkgsrc/mk/platform/NetBSD.mk:1.54
--- pkgsrc/mk/platform/NetBSD.mk:1.53   Mon Jul 24 08:19:08 2017
+++ pkgsrc/mk/platform/NetBSD.mk        Mon Aug  7 23:44:53 2017
@@ -1,4 +1,4 @@
-# $NetBSD: NetBSD.mk,v 1.53 2017/07/24 08:19:08 maya Exp $
+# $NetBSD: NetBSD.mk,v 1.54 2017/08/07 23:44:53 maya Exp $
 #
 # Variable definitions for the NetBSD operating system.
 
@@ -129,7 +129,12 @@ PKG_HAVE_KQUEUE=   # defined
 .endif
 
 # Register support for FORTIFY (with GCC)
+.if !empty(OS_VERSION:M[2-6].*)
+# Disable on older versions, see:
+# http://mail-index.netbsd.org/pkgsrc-users/2017/08/07/msg025435.html
+.else
 _OPSYS_SUPPORTS_FORTIFY=yes
+.endif
 
 # Register support for PIE on supported architectures (with GCC)
 .if (${MACHINE_ARCH} == "i386") || \



Home | Main Index | Thread Index | Old Index