summaryrefslogtreecommitdiffstats
path: root/contrib/ntp/ntpsnmpd/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ntp/ntpsnmpd/Makefile.am')
-rw-r--r--contrib/ntp/ntpsnmpd/Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/contrib/ntp/ntpsnmpd/Makefile.am b/contrib/ntp/ntpsnmpd/Makefile.am
index 11ecf1b..e63098c 100644
--- a/contrib/ntp/ntpsnmpd/Makefile.am
+++ b/contrib/ntp/ntpsnmpd/Makefile.am
@@ -13,15 +13,18 @@ LDADD = ../ntpq/libntpq.a ../libntp/libntp.a
LDADD += $(SNMP_LIBS) $(LDADD_LIBNTP) $(LIBM)
LDADD += $(PTHREAD_LIBS) $(LDADD_NTP) $(LIBOPTS_LDADD)
-AM_CFLAGS = $(SNMP_CFLAGS) $(CFLAGS_NTP)
+AM_CFLAGS = $(SNMP_CFLAGS) $(CFLAGS_NTP)
+AM_CFLAGS += $(NTP_HARD_CFLAGS)
AM_CPPFLAGS = -I$(top_srcdir)/ntpq
AM_CPPFLAGS += $(NTP_INCS)
AM_CPPFLAGS += $(LIBOPTS_CFLAGS)
AM_CPPFLAGS += $(SNMP_CPPFLAGS)
AM_CPPFLAGS += $(CPPFLAGS_NTP)
+AM_CPPFLAGS += $(NTP_HARD_CPPFLAGS)
-AM_LDFLAGS = $(LDFLAGS_NTP)
+AM_LDFLAGS = $(LDFLAGS_NTP)
+AM_LDFLAGS += $(NTP_HARD_LDFLAGS)
EXTRA_DIST= \
invoke-ntpsnmpd.menu \
OpenPOWER on IntegriCloud