summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 3fa7aed30a..47ed3ccc48 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -16,6 +16,7 @@ AM_CPPFLAGS = \
-DLIBEXECDIR=\""$(libexecdir)"\"
AM_CFLAGS = \
+ ${my_CFLAGS} \
-fvisibility=hidden \
-ffunction-sections \
-fdata-sections
@@ -207,11 +208,13 @@ udev_common_sources = \
udev/udev-builtin-kmod.c
udev_common_CFLAGS = \
- $(BLKID_CFLAGS)
+ $(BLKID_CFLAGS) \
+ $(KMOD_CFLAGS)
udev_common_LDADD = \
libudev/libudev-private.la \
- $(BLKID_LIBS)
+ $(BLKID_LIBS) \
+ $(BLKID_KMOD)
udev_udevd_SOURCES = \
$(udev_common_sources) \