!9779 [Data]fix Strip for build

From: @xulei2020
Reviewed-by: @liucunwei,@HilbertDavid
Signed-off-by: @liucunwei
This commit is contained in:
mindspore-ci-bot 2020-12-10 19:37:10 +08:00 committed by Gitee
commit d9395e8b71
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ else()
set(jpeg_turbo_CFLAGS "-fstack-protector-all -Wno-maybe-uninitialized -Wno-unused-parameter -fPIC -D_FORTIFY_SOURCE=2 -O2")
endif()
set(jpeg_turbo_LDFLAGS "-Wl,-z,relro,-z,now,-z,noexecstack")
set(jpeg_turbo_LDFLAGS "-Wl,-z,relro,-z,now,-z,noexecstack,-s")
set(jpeg_turbo_USE_STATIC_LIBS ON)