diff options
author | Changyeon Lee <cyeon.lee@samsung.com> | 2023-11-21 12:25:24 +0900 |
---|---|---|
committer | Changyeon Lee <cyeon.lee@samsung.com> | 2023-11-22 18:30:17 +0900 |
commit | d6ea3982ef40c3105e61bd1af7e708cee79fe010 (patch) | |
tree | eaff9b5c5e9238956cb55b75ead59869e31c5e43 | |
parent | d4fc31c6e19836cb9b90ded13912d9cef913fdd2 (diff) | |
download | libpciaccess-d6ea3982ef40c3105e61bd1af7e708cee79fe010.tar.gz libpciaccess-d6ea3982ef40c3105e61bd1af7e708cee79fe010.tar.bz2 libpciaccess-d6ea3982ef40c3105e61bd1af7e708cee79fe010.zip |
Add Partial RELRO flags
Change-Id: I6d8662a8829e0bca4843bc00168f85437fad25c4
-rw-r--r-- | packaging/libpciaccess.spec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/libpciaccess.spec b/packaging/libpciaccess.spec index d227139..5a81b29 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" +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} |