Sfoglia il codice sorgente

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 anni fa
parent
commit
e85423521b
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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