2
0
Эх сурвалжийг харах

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 жил өмнө
parent
commit
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