From 2d665473c4325ef432ea34ee7ab18aa2d29f96ad Mon Sep 17 00:00:00 2001 From: Marco van Wieringen Date: Sat, 4 May 2013 13:14:39 +0200 Subject: [PATCH] Tweak use CFLAGS not CXXFLAGS as we use CC not CXX timelimit.c is compiled with the normal C compiler not with C++ so lets use the proper set of flags e.g. CFLAGS instead of CXXFLAGS. --- src/tools/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/Makefile.in b/src/tools/Makefile.in index 2fc99026089..7551b3b012c 100644 --- a/src/tools/Makefile.in +++ b/src/tools/Makefile.in @@ -77,7 +77,7 @@ bpluginfo: Makefile bpluginfo.o ../lib/libbareos$(DEFAULT_ARCHIVE_TYPE) $(LIBTOOL_LINK) $(CXX) $(LDFLAGS) -L../lib -o $@ bpluginfo.o -lbareos $(GETTEXT_LIBS) timelimit.o: timelimit.c - ${CC} ${DEFS} ${DEBUG} $(CXXFLAGS) -DHAVE_ERRNO_H -DHAVE_SETITIMER -DHAVE_SIGACTION -c timelimit.c + ${CC} ${DEFS} ${DEBUG} $(CFLAGS) -DHAVE_ERRNO_H -DHAVE_SETITIMER -DHAVE_SIGACTION -c timelimit.c timelimit: timelimit.o $(LIBTOOL) --silent --mode=link $(CC) $(LDFLAGS) -o $@ timelimit.o