Merge "x86: enable FORTIFY_SOURCE"
This commit is contained in:
commit
a303510f13
1 changed files with 1 additions and 0 deletions
|
@ -84,6 +84,7 @@ TARGET_GLOBAL_CFLAGS += \
|
||||||
-Ulinux \
|
-Ulinux \
|
||||||
-Wa,--noexecstack \
|
-Wa,--noexecstack \
|
||||||
-Werror=format-security \
|
-Werror=format-security \
|
||||||
|
-D_FORTIFY_SOURCE=1 \
|
||||||
-Wstrict-aliasing=2 \
|
-Wstrict-aliasing=2 \
|
||||||
-fPIC -fPIE \
|
-fPIC -fPIE \
|
||||||
-ffunction-sections \
|
-ffunction-sections \
|
||||||
|
|
Loading…
Reference in a new issue