projects
/
platform
/
upstream
/
libpciaccess.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4fc31c
)
Add Partial RELRO flags
66/301766/1
author
Changyeon Lee
<cyeon.lee@samsung.com>
Tue, 21 Nov 2023 03:25:24 +0000
(12:25 +0900)
committer
Changyeon Lee
<cyeon.lee@samsung.com>
Wed, 22 Nov 2023 09:29:06 +0000
(18:29 +0900)
Change-Id: Ic0c6642453639e1259faf9a87dcabfe49e036cf3
packaging/libpciaccess.spec
patch
|
blob
|
history
diff --git
a/packaging/libpciaccess.spec
b/packaging/libpciaccess.spec
index
d227139
..
5a81b29
100644
(file)
--- 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"
+export CFLAGS="-O2 -g2 -pipe -w -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -fmessage-length=0 -Wl,--as-needed
-Wl,-z,relro
"
%configure --disable-static \
--with-pciids-path=%{_datadir}/misc --with-zlib
make %{?_smp_mflags}