mirror of
https://github.com/systemd/systemd.git
synced 2024-12-18 06:33:36 +08:00
build: if -fstack-protector-strong is available, use it.
This commit is contained in:
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], [\
|
||||
|
Loading…
Reference in New Issue
Block a user