From bfbb2252fd2cfcd412081b0f012825a57268bd6e Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Sat, 1 Nov 2008 12:19:29 +0100 Subject: [PATCH] src/Makefile: Build ipvs and uuid plugins using $AM_CFLAGS. --- src/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index bace5537..47268f51 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -323,7 +323,7 @@ endif if BUILD_PLUGIN_IPVS pkglib_LTLIBRARIES += ipvs.la ipvs_la_SOURCES = ipvs.c -ipvs_la_CFLAGS = $(KERNEL_CFLAGS) +ipvs_la_CFLAGS = $(AM_CFLAGS) $(KERNEL_CFLAGS) ipvs_la_LDFLAGS = -module -avoid-version collectd_LDADD += "-dlopen" ipvs.la collectd_DEPENDENCIES += ipvs.la @@ -739,7 +739,7 @@ endif if BUILD_PLUGIN_UUID pkglib_LTLIBRARIES += uuid.la uuid_la_SOURCES = uuid.c -uuid_la_CFLAGS = $(BUILD_WITH_LIBHAL_CFLAGS) +uuid_la_CFLAGS = $(AM_CFLAGS) $(BUILD_WITH_LIBHAL_CFLAGS) uuid_la_LIBADD = $(BUILD_WITH_LIBHAL_LIBS) uuid_la_LDFLAGS = -module -avoid-version collectd_LDADD += "-dlopen" uuid.la -- 2.11.0