Enabled Fortify for libruntime.a
There is currently no code in libruntime.a that Fortify can protect so this doesn't actually change the generated assembly. However, we may add code in the future that Fortify can protect. clang defines `_FORTIFY_SOURCE` by default so we need to undefine then redefine it to avoid build errors.
This commit is contained in:
parent
34279257f9
commit
2155505dcd
1 changed files with 1 additions and 1 deletions
|
|
@ -102,7 +102,7 @@
|
|||
'externals/utf8proc/utf8proc.c',
|
||||
],
|
||||
'cflags_c': [
|
||||
'-std=c99'
|
||||
'-std=c99', '-U_FORTIFY_SOURCE', '-D_FORTIFY_SOURCE=1'
|
||||
],
|
||||
'ldflags': [
|
||||
'-g',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue