forked from openkylin/platform_build
am a303510f: Merge "x86: enable FORTIFY_SOURCE"
* commit 'a303510f133e0e20aefedd7d03adfbb88cb85a54': x86: enable FORTIFY_SOURCE
This commit is contained in:
commit
7cd204914e
|
@ -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