$OpenBSD: patch-libAfterImage_Makefile_in,v 1.1 2009/12/06 15:09:22 jasper Exp $ Honor CPPFLAGS. --- libAfterImage/Makefile.in.orig Wed Dec 17 18:29:14 2008 +++ libAfterImage/Makefile.in Thu Dec 3 16:18:44 2009 @@ -72,6 +72,7 @@ LIBVERMAJOR = 0 CC = @CC@ CCFLAGS = @CFLAGS@ @MMX_CFLAGS@ +CPPFLAGS = @CPPFLAGS@ # -march=pentiumpro -mcpu=pentiumpro EXTRA_DEFINES = @DEFINE_XLOCALE@ @@ -367,10 +368,10 @@ test_mmx: test_mmx.o .c.o: - $(CC) $(CCFLAGS) $(EXTRA_DEFINES) $(INCLUDES) $(EXTRA_INCLUDES) -c $*.c -o $@ + $(CC) $(CCFLAGS) $(CPPFLAGS) $(EXTRA_DEFINES) $(INCLUDES) $(EXTRA_INCLUDES) -c $*.c -o $@ .c.s: - $(CC) $(CCFLAGS) $(EXTRA_DEFINES) $(INCLUDES) $(EXTRA_INCLUDES) -S $*.c + $(CC) $(CCFLAGS) $(CPPFLAGS) $(EXTRA_DEFINES) $(INCLUDES) $(EXTRA_INCLUDES) -S $*.c # # include dependency files if they exist