Module: check_mk
Branch: master
Commit: d6d0b2d0e25f9d0e7b4193f4d9f437f73380c0fc
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d6d0b2d0e25f9d…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Jul 10 10:30:55 2012 +0200
Hopfully fix compilation bugs on some systems
---
livestatus/src/Makefile.am | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/livestatus/src/Makefile.am b/livestatus/src/Makefile.am
index 75a82e5..d92136b 100644
--- a/livestatus/src/Makefile.am
+++ b/livestatus/src/Makefile.am
@@ -54,9 +54,9 @@ livestatus_so_SOURCES = \
livecheck$(EXEEXT): livecheck.c strutil.cc check_icmp.c
if HAVE_DIET
- diet -v $(CC) -Wno-deprecated-declarations $(CFLAGS) $(LDFLAGS) -I.. -s -o $@ $^
+ diet -v $(CC) -x c -Wno-deprecated-declarations $(CFLAGS) $(LDFLAGS) -I.. -s -o $@ $^
else
- $(CC) -Wno-deprecated-declarations $(CFLAGS) $(LDFLAGS) -I.. -s -o $@ $^
+ $(CC) -x c -Wno-deprecated-declarations $(CFLAGS) $(LDFLAGS) -I.. -s -o $@ $^
endif
livestatus_so_CXXFLAGS = -I$(top_srcdir)/nagios -fPIC