!9779 [Data]fix Strip for build
From: @xulei2020 Reviewed-by: @liucunwei,@HilbertDavid Signed-off-by: @liucunwei
This commit is contained in:
commit
d9395e8b71
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue