]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Apply Carsten's patch for adding CPPFLAGS to tools/gigaslam.c compile
authorKern Sibbald <kern@sibbald.com>
Sun, 3 Feb 2019 16:33:32 +0000 (17:33 +0100)
committerKern Sibbald <kern@sibbald.com>
Sun, 3 Feb 2019 16:33:32 +0000 (17:33 +0100)
bacula/src/tools/Makefile.in

index f9f6eb9b66f947cd20ffc32f4440145675ba121f..abd66199df4d3dd1c2af96286d133fc831dfaa92 100644 (file)
@@ -130,7 +130,7 @@ cats_test: Makefile ../findlib/libbacfind$(DEFAULT_ARCHIVE_TYPE) ../lib/libbac$(
          -lbaccats -lbacsql -lbacfind -lbac -lm $(DB_LIBS) $(LIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS)
 
 gigaslam.o: gigaslam.c
-       $(CXX) $(CFLAGS) -c $<
+       $(CXX) $(CFLAGS) -c $(CPPFLAGS) $<
 
 gigaslam: gigaslam.o
        $(LIBTOOL_LINK) $(CXX) $(LDFLAGS) -o $@ gigaslam.o