!21557 fix: thirdparty icu4c binscope

Merge pull request !21557 from guozhijian/fix_icu4c_binscope
This commit is contained in:
i-robot 2021-08-10 02:06:52 +00:00 committed by Gitee
commit 56fcdcc69f
1 changed files with 2 additions and 2 deletions

View File

@ -5,8 +5,8 @@
THE_OS="Linux" THE_OS="Linux"
THE_COMP="the clang or else GNU C++" THE_COMP="the clang or else GNU C++"
- RELEASE_CFLAGS='-O3' - RELEASE_CFLAGS='-O3'
+ RELEASE_CFLAGS='-fstack-protector -D_FORTIFY_SOURCE=2 -O3 -Wl,-z,relro,-z,now' + RELEASE_CFLAGS='-fstack-protector -D_FORTIFY_SOURCE=2 -O3 -Wl,-z,relro,-z,now -s'
- RELEASE_CXXFLAGS='-O3' - RELEASE_CXXFLAGS='-O3'
+ RELEASE_CXXFLAGS='-fstack-protector -D_FORTIFY_SOURCE=2 -O3 -Wl,-z,relro,-z,now' + RELEASE_CXXFLAGS='-fstack-protector -D_FORTIFY_SOURCE=2 -O3 -Wl,-z,relro,-z,now -s'
DEBUG_CFLAGS='-g' DEBUG_CFLAGS='-g'
DEBUG_CXXFLAGS='-g' DEBUG_CXXFLAGS='-g'