Accepting request 876802 from home:elvigia:branches:devel:libraries:c_c++
- Harden build, enable full RELRO - Never allow undefined symbols anywhere. OBS-URL: https://build.opensuse.org/request/show/876802 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=292
This commit is contained in:
parent
5e99168233
commit
98afeb4ad0
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 4 17:46:40 UTC 2021 - Cristian Rodríguez <crrodriguez@opensuse.org>
|
||||||
|
|
||||||
|
- Harden build, enable full RELRO
|
||||||
|
- Never allow undefined symbols anywhere.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 4 11:20:22 UTC 2021 - Pedro Monreal <pmonreal@suse.com>
|
Thu Feb 4 11:20:22 UTC 2021 - Pedro Monreal <pmonreal@suse.com>
|
||||||
|
|
||||||
|
@ -102,7 +102,7 @@ CPPFLAGS="-D_FORTIFY_SOURCE=2"
|
|||||||
CFLAGS=$(echo "%{optflags}" | sed -e 's/-D_FORTIFY_SOURCE=2//')
|
CFLAGS=$(echo "%{optflags}" | sed -e 's/-D_FORTIFY_SOURCE=2//')
|
||||||
export CPPFLAGS
|
export CPPFLAGS
|
||||||
export CFLAGS="$CFLAGS -fPIE"
|
export CFLAGS="$CFLAGS -fPIE"
|
||||||
export LDFLAGS="$LDFLAGS -pie"
|
export LDFLAGS="$LDFLAGS -Wl,-z,defs,-z,now,-z,relro -pie"
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
# local hack to make curl-config --libs stop printing libraries it depends on
|
# local hack to make curl-config --libs stop printing libraries it depends on
|
||||||
# (currently, libtool sets link_all_deplibs=(yes|unknown) everywhere,
|
# (currently, libtool sets link_all_deplibs=(yes|unknown) everywhere,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user