Browse Source

Patch Makefiles to honor CPPFLAGS

Add the missing CPPFLAGS to the 'ringbuf.o' target. This is needed in
order to pass extra flags when building uthash for Debian.
Ilias Tsitsimpis 9 years ago
parent
commit
e85423521b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libut/Makefile

+ 1 - 1
libut/Makefile

@@ -18,7 +18,7 @@ utmm.o: src/utmm.c $(INCDIR)/utmm.h
 	$(CC) $(CFLAGS) $(CPPFLAGS) -c $<
 
 ringbuf.o: src/ringbuf.c $(INCDIR)/ringbuf.h
-	$(CC) $(CFLAGS) -c $<
+	$(CC) $(CFLAGS) $(CPPFLAGS) -c $<
 
 .PHONY: clean tests install