Add SC(Stack Canary) flags 64/301764/1
authorChangyeon Lee <cyeon.lee@samsung.com>
Wed, 22 Nov 2023 08:25:08 +0000 (17:25 +0900)
committerChangyeon Lee <cyeon.lee@samsung.com>
Wed, 22 Nov 2023 09:30:33 +0000 (18:30 +0900)
Change-Id: Iec4d5646eba4578547be7cb2a4bb737b094f8134

packaging/libpciaccess.spec

index 5a81b29..6506160 100644 (file)
@@ -42,7 +42,7 @@ cp %{SOURCE1001} .
 NOCONFIGURE=1
 %autogen
 export CFLAGS="$CFLAGS -w"
-export CFLAGS="-O2 -g2 -pipe -w -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -fmessage-length=0 -Wl,--as-needed -Wl,-z,relro"
+export CFLAGS="-O2 -g2 -pipe -w -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -fmessage-length=0 -Wl,--as-needed -Wl,-z,relro"
 %configure --disable-static \
            --with-pciids-path=%{_datadir}/misc --with-zlib
 make %{?_smp_mflags}