Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151179246
D3924.id9478.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
799 B
Referenced Files
None
Subscribers
None
D3924.id9478.diff
View Options
Index: share/mk/bsd.sys.mk
===================================================================
--- share/mk/bsd.sys.mk
+++ share/mk/bsd.sys.mk
@@ -150,11 +150,13 @@
${MACHINE_CPUARCH} != "arm" && ${MACHINE_CPUARCH} != "mips"
.if (${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 30500) || \
(${COMPILER_TYPE} == "gcc" && \
- (${COMPILER_VERSION} == 40201 || ${COMPILER_VERSION} >= 40800))
+ (${COMPILER_VERSION} == 40201 || ${COMPILER_VERSION} >= 40900))
# Don't use -Wstack-protector as it breaks world with -Werror.
SSP_CFLAGS?= -fstack-protector-strong
-CFLAGS+= ${SSP_CFLAGS}
+.else
+SSP_CFLAGS?= -fstack-protector
.endif
+CFLAGS+= ${SSP_CFLAGS}
.endif # SSP && !ARM && !MIPS
# Allow user-specified additional warning flags, plus compiler specific flag overrides.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 7, 3:25 PM (9 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31039437
Default Alt Text
D3924.id9478.diff (799 B)
Attached To
Mode
D3924: Only use -fstack-protector-strong with supported compilers
Attached
Detach File
Event Timeline
Log In to Comment