mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +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 a65ab773b4
.
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…
Reference in New Issue
Block a user