pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/compiler clang.mk: add support for PKGSRC_USE_SSP=s...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1e3e5434c379
branches:  trunk
changeset: 456568:1e3e5434c379
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Aug 03 07:28:15 2021 +0000

description:
clang.mk: add support for PKGSRC_USE_SSP=strong

diffstat:

 mk/compiler/clang.mk |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r e11648cf99d0 -r 1e3e5434c379 mk/compiler/clang.mk
--- a/mk/compiler/clang.mk      Tue Aug 03 07:19:20 2021 +0000
+++ b/mk/compiler/clang.mk      Tue Aug 03 07:28:15 2021 +0000
@@ -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 @@
 # 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