mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09:00
build: if -fstack-protector-strong is available, use it.
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
472fc28fda
commit
aca33b078c
@@ -156,6 +156,7 @@ CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\
|
||||
-ffunction-sections \
|
||||
-fdata-sections \
|
||||
-fstack-protector \
|
||||
-fstack-protector-strong \
|
||||
--param=ssp-buffer-size=4])
|
||||
AS_CASE([$CFLAGS], [*-O[[12345\ ]]*],
|
||||
[CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\
|
||||
|
||||
Reference in New Issue
Block a user