summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
Diffstat (limited to 'packaging')
-rw-r--r--packaging/libpciaccess.spec1
1 files changed, 1 insertions, 0 deletions
diff --git a/packaging/libpciaccess.spec b/packaging/libpciaccess.spec
index 4578ca4..d227139 100644
--- a/packaging/libpciaccess.spec
+++ b/packaging/libpciaccess.spec
@@ -42,6 +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"
%configure --disable-static \
--with-pciids-path=%{_datadir}/misc --with-zlib
make %{?_smp_mflags}