Преглед изворни кода

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 година
родитељ
комит
e85423521b
1 измењених фајлова са 1 додато и 1 уклоњено
  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