From: Sebastian Harl Date: Sat, 1 Nov 2008 11:19:29 +0000 (+0100) Subject: src/Makefile: Build ipvs and uuid plugins using $AM_CFLAGS. X-Git-Tag: collectd-4.5.2~15 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=bfbb2252fd2cfcd412081b0f012825a57268bd6e;p=collectd.git src/Makefile: Build ipvs and uuid plugins using $AM_CFLAGS. --- 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