summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlava Barinov <v.barinov@samsung.com>2024-02-15 15:40:54 +0300
committerSlava Barinov <v.barinov@samsung.com>2024-02-15 15:40:54 +0300
commit6d1e99030a33670a6aa26dd3e30dea29ae3e1c9c (patch)
tree64a9da106158335b1ba95cb9894dee05f9be6720
parentaeb4a54faaeb17edf1ac881f7e813b3a349d7452 (diff)
downloadqb-sandbox/vbarinov/flto.tar.gz
qb-sandbox/vbarinov/flto.tar.bz2
qb-sandbox/vbarinov/flto.zip
Set default visibility to hidden and apply LTO to AArch64sandbox/vbarinov/flto
-rw-r--r--TIZEN/Tizen/Tizen-Base-Toolchain/project_config2
1 files changed, 1 insertions, 1 deletions
diff --git a/TIZEN/Tizen/Tizen-Base-Toolchain/project_config b/TIZEN/Tizen/Tizen-Base-Toolchain/project_config
index 71038df8f..46037b490 100644
--- a/TIZEN/Tizen/Tizen-Base-Toolchain/project_config
+++ b/TIZEN/Tizen/Tizen-Base-Toolchain/project_config
@@ -259,7 +259,7 @@ Substitute: glibc-devel-32bit
Optflags: armv7l %{__global_cflags} --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64
Optflags: armv7hl %{__global_cflags} --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=hard -mthumb -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64
-Optflags: aarch64 %{__global_cflags} -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53
+Optflags: aarch64 %{__global_cflags} -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -fvisibility=hidden -flto
Optflags: i686 %{__global_cflags} -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code
Optflags: x86_64 %{__global_cflags} -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer
Optflags: riscv64 %{__global_cflags} -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc