Page MenuHomeFreeBSD

D3924.id9473.diff
No OneTemporary

D3924.id9473.diff

Index: head/share/mk/bsd.sys.mk
===================================================================
--- head/share/mk/bsd.sys.mk
+++ head/share/mk/bsd.sys.mk
@@ -148,9 +148,13 @@
.if ${MK_SSP} != "no" && \
${MACHINE_CPUARCH} != "arm" && ${MACHINE_CPUARCH} != "mips"
+.if (${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 30500) || \
+ (${COMPILER_TYPE} == "gcc" && \
+ (${COMPILER_VERSION} == 40201 || ${COMPILER_VERSION} >= 40800))
# Don't use -Wstack-protector as it breaks world with -Werror.
SSP_CFLAGS?= -fstack-protector-strong
CFLAGS+= ${SSP_CFLAGS}
+.endif
.endif # SSP && !ARM && !MIPS
# Allow user-specified additional warning flags, plus compiler specific flag overrides.

File Metadata

Mime Type
text/plain
Expires
Thu, Apr 30, 11:01 AM (5 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32500076
Default Alt Text
D3924.id9473.diff (710 B)

Event Timeline