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:           Tue Aug  3 07:28:15 UTC 2021

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

Log Message:
clang.mk: add support for PKGSRC_USE_SSP=strong


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 pkgsrc/mk/compiler/clang.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/clang.mk
diff -u pkgsrc/mk/compiler/clang.mk:1.26 pkgsrc/mk/compiler/clang.mk:1.27
--- pkgsrc/mk/compiler/clang.mk:1.26    Mon Sep 21 13:09:21 2020
+++ pkgsrc/mk/compiler/clang.mk Tue Aug  3 07:28:15 2021
@@ -1,4 +1,4 @@
-# $NetBSD: clang.mk,v 1.26 2020/09/21 13:09:21 schmonz Exp $
+# $NetBSD: clang.mk,v 1.27 2021/08/03 07:28:15 nia Exp $
 #
 # This is the compiler definition for the clang compiler.
 #
@@ -65,6 +65,8 @@ _RELRO_LDFLAGS=               -Wl,-z,relro -Wl,-z,now
 # The user can choose the level of stack smashing protection.
 .if ${PKGSRC_USE_SSP} == "all"
 _SSP_CFLAGS=           -fstack-protector-all
+.elif ${PKGSRC_USE_SSP} == "strong"
+_SSP_CFLAGS=           -fstack-protector-strong
 .else
 _SSP_CFLAGS=           -fstack-protector
 .endif



Home | Main Index | Thread Index | Old Index