Accepting request 657814 from home:mkraus:branches:server:mail

binary hardening: link with full RELRO

OBS-URL: https://build.opensuse.org/request/show/657814
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=315
This commit is contained in:
Christian Wittmer 2018-12-18 16:06:05 +00:00 committed by Git OBS Bridge
parent 46ab450cbf
commit 40a0428e0a
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Dec 13 10:20:31 UTC 2018 - malte.kraus@suse.com
- binary hardening: link with full RELRO
-------------------------------------------------------------------
Sun Nov 25 10:18:07 UTC 2018 - Michael Ströder <michael@stroeder.com>

View File

@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@ -224,10 +224,13 @@ export AUXLIBS_LMDB="-llmdb"
#export AUXLIBS_SDBM
export PIE=-pie
# using SHLIB_RPATH to specify unrelated linker flags, because LDFLAGS is
# ignored
make makefiles pie=yes shared=yes dynamicmaps=yes \
shlib_directory=%{_prefix}/lib/%{name} \
meta_directory=%{_prefix}/lib/%{name} \
config_directory=%{_sysconfdir}/%{name}
config_directory=%{_sysconfdir}/%{name} \
SHLIB_RPATH="-Wl,-rpath,%{pf_shlib_directory} -Wl,-z,relro,-z,now"
make %{?_smp_mflags}
# ---------------------------------------------------------------------------