build: if -fstack-protector-strong is available, use it.

This commit is contained in:
Cristian Rodríguez 2014-04-11 22:57:02 -03:00 committed by Zbigniew Jędrzejewski-Szmek
parent 472fc28fda
commit aca33b078c
1 changed files with 1 additions and 0 deletions

View File

@ -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], [\