Update GCC with enabled Stack-Clash protection 84/323684/3
authorAlexey Merzlyakov <alexey.merzlyakov@samsung.com>
Mon, 5 May 2025 09:20:53 +0000 (12:20 +0300)
committerAlexey Merzlyakov <alexey.merzlyakov@samsung.com>
Wed, 28 May 2025 04:48:46 +0000 (07:48 +0300)
Change-Id: I177aa9b0d1aea467980fe1f1b6dac2fc70bfd710

TIZEN/Tizen/Tizen-Base-SC/project_config

index c373687c8563de3a24a8b2f54159d26ace7df175..34ed3119ea3298636168beeec1405c656d0f0d81 100755 (executable)
@@ -250,7 +250,7 @@ Substitute: glibc-devel-32bit
 %endif
 
 ########## compilation flags ##########
-%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
+%define __global_cflags -O2 -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -fstack-clash-protection -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