Przeglądaj źródła

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 lat temu
rodzic
commit
e85423521b
1 zmienionych plików z 1 dodań i 1 usunięć
  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 $<
 	$(CC) $(CFLAGS) $(CPPFLAGS) -c $<
 
 
 ringbuf.o: src/ringbuf.c $(INCDIR)/ringbuf.h
 ringbuf.o: src/ringbuf.c $(INCDIR)/ringbuf.h
-	$(CC) $(CFLAGS) -c $<
+	$(CC) $(CFLAGS) $(CPPFLAGS) -c $<
 
 
 .PHONY: clean tests install
 .PHONY: clean tests install