forked from mindspore-Ecosystem/mindspore
13 lines
583 B
Plaintext
13 lines
583 B
Plaintext
--- ./icu4c/source/runConfigureICU 2020-09-16 10:29:53.446938469 +0800
|
|
+++ ./icu4c/source/runConfigureICU_cflags 2020-04-23 01:49:10.000000000 +0800
|
|
@@ -247,7 +247,7 @@ case $platform in
|
|
Linux*)
|
|
THE_OS="Linux"
|
|
THE_COMP="the clang or else GNU C++"
|
|
- RELEASE_CFLAGS='-O3'
|
|
+ RELEASE_CFLAGS='-fstack-protector -D_FORTIFY_SOURCE=2 -O3 -Wl,-z,relro,-z,now -s'
|
|
- RELEASE_CXXFLAGS='-O3'
|
|
+ RELEASE_CXXFLAGS='-fstack-protector -D_FORTIFY_SOURCE=2 -O3 -Wl,-z,relro,-z,now -s'
|
|
DEBUG_CFLAGS='-g'
|
|
DEBUG_CXXFLAGS='-g'
|