forked from openkylin/platform_build
am 7cd20491: am a303510f: Merge "x86: enable FORTIFY_SOURCE"
* commit '7cd204914ef59c4ce96210539489ec3e76942bb4': x86: enable FORTIFY_SOURCE
This commit is contained in:
commit
b3f0eb16b2
|
@ -84,6 +84,7 @@ TARGET_GLOBAL_CFLAGS += \
|
|||
-Ulinux \
|
||||
-Wa,--noexecstack \
|
||||
-Werror=format-security \
|
||||
-D_FORTIFY_SOURCE=1 \
|
||||
-Wstrict-aliasing=2 \
|
||||
-fPIC -fPIE \
|
||||
-ffunction-sections \
|
||||
|
|
Loading…
Reference in New Issue