mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
so: make sure shared libs are built with RELRO option
In addition to using RELRO for daemons, use this option for shared libraries. See also commit a65ab773b4ddb06e87d678d3b2f4d0ca3e5b9fd0.
This commit is contained in:
parent
b25e0086b6
commit
c774d9a3f3
@ -1,5 +1,6 @@
|
||||
Version 2.02.112 -
|
||||
=====================================
|
||||
Make sure shared libraries are built with RELRO option.
|
||||
|
||||
Version 2.02.111 - 1st September 2014
|
||||
=====================================
|
||||
|
@ -160,6 +160,7 @@ ifeq ("@HAVE_PIE@", "yes")
|
||||
ifeq ("@HAVE_FULL_RELRO@", "yes")
|
||||
EXTRA_EXEC_CFLAGS += -fPIE -DPIE
|
||||
EXTRA_EXEC_LDFLAGS += -Wl,-z,relro,-z,now -pie
|
||||
CLDFLAGS += -Wl,-z,relro
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user