summaryrefslogtreecommitdiff
path: root/libblkid
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2013-08-27 10:02:04 +0200
committerKarel Zak <kzak@redhat.com>2013-08-27 11:49:01 +0200
commit03d00d495f3b505d9cae967c629fb38aca301e01 (patch)
tree3433ad37aa6b694d4933668b1cdb9c602571be6a /libblkid
parentef2c9e3f5e51cf13ec9cf6738d4f1d695ee32a6f (diff)
downloadutil-linux-03d00d495f3b505d9cae967c629fb38aca301e01.tar.gz
build-sys: add CFLAGS and LDFLAGS for daemons and shared libs
This is necessary for paranoid security guys who believe that things like "-Wl,-z,relro" or "-Wl,-z,bind_now" is a way how to make the world a safer place... Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libblkid')
-rw-r--r--libblkid/src/Makemodule.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/libblkid/src/Makemodule.am b/libblkid/src/Makemodule.am
index 04d86210..15639768 100644
--- a/libblkid/src/Makemodule.am
+++ b/libblkid/src/Makemodule.am
@@ -113,6 +113,7 @@ libblkid_la_LIBADD = libcommon.la
libblkid_la_CFLAGS = \
+ $(SOLIB_CFLAGS) \
-I$(ul_libblkid_incdir) \
-I$(top_srcdir)/libblkid/src
@@ -128,6 +129,7 @@ libblkid_la_DEPENDENCIES = \
libblkid/src/blkid.h.in
libblkid_la_LDFLAGS = \
+ $(SOLIB_LDFLAGS) \
-Wl,--version-script=$(top_srcdir)/libblkid/src/blkid.sym \
-version-info $(LIBBLKID_VERSION_INFO)