Revert "Base-Toolchain: optimize option O2 -> Os"
authorDongkyun Son <dongkyun.s@samsung.com>
Thu, 8 Feb 2024 11:38:49 +0000 (20:38 +0900)
committerDongkyun Son <dongkyun.s@samsung.com>
Thu, 8 Feb 2024 11:39:48 +0000 (20:39 +0900)
This reverts commit 209c146165a25635ca18c1cb7633111b2cc2b018.

Change-Id: I181ff90535e1d92512ff2d18dc11fd1baed36df3

TIZEN/Tizen/Tizen-Base-Toolchain/project_config

index 8d3ce817820e5958cceda8dfab7a8346b810d1d2..71038df8f0897ea3adacb10303048c6f232e0f48 100644 (file)
@@ -255,7 +255,7 @@ Substitute: glibc-devel-32bit
 %endif
 
 ########## compilation flags ##########
-%define __global_cflags -Os -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed
+%define __global_cflags -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed
 
 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