1
0
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:
Peter Rajnoha 2014-09-04 10:52:41 +02:00
parent b25e0086b6
commit c774d9a3f3
2 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.112 -
=====================================
Make sure shared libraries are built with RELRO option.
Version 2.02.111 - 1st September 2014
=====================================

View File

@ -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