summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChangyeon Lee <cyeon.lee@samsung.com>2023-11-22 17:25:08 +0900
committerChangyeon Lee <cyeon.lee@samsung.com>2023-11-22 17:25:08 +0900
commitc28c3239663276bd40d2d343498a633c9de88a35 (patch)
treeea109eba0259334c4b3af74e1ba544412cd4a7a0
parent715502fcfca7db1a5220c32a92eff7b7174ae9cd (diff)
downloadlibpciaccess-c28c3239663276bd40d2d343498a633c9de88a35.tar.gz
libpciaccess-c28c3239663276bd40d2d343498a633c9de88a35.tar.bz2
libpciaccess-c28c3239663276bd40d2d343498a633c9de88a35.zip
Add SC(Stack Canary) flags
Change-Id: I1e0dd6be373fa44ef6d720745372d2e5e621cbbb
-rw-r--r--packaging/libpciaccess.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/libpciaccess.spec b/packaging/libpciaccess.spec
index 5a81b29..6506160 100644
--- a/packaging/libpciaccess.spec
+++ b/packaging/libpciaccess.spec
@@ -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}