From f2f6fed3b12605364df7064cca04867c02e78b7c Mon Sep 17 00:00:00 2001 From: "Fred L. Drake, Jr." Date: Fri, 28 Jan 2005 04:35:57 +0000 Subject: [PATCH] make sure the -I options to the headers for the version being compiled come before any additional -I options passed in via CPPFLAGS (closes SF bug #693747) --- expat/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/expat/Makefile.in b/expat/Makefile.in index 4e9bf18c..3452644c 100644 --- a/expat/Makefile.in +++ b/expat/Makefile.in @@ -111,7 +111,7 @@ VSNFLAG = -version-info @LIBCURRENT@:@LIBREVISION@:@LIBAGE@ ### autoconf this? LTFLAGS = --silent -COMPILE = $(CC) $(CFLAGS) $(DEFS) $(CPPFLAGS) $(INCLUDES) +COMPILE = $(CC) $(INCLUDES) $(CFLAGS) $(DEFS) $(CPPFLAGS) LTCOMPILE = $(LIBTOOL) $(LTFLAGS) --mode=compile $(COMPILE) LINK_LIB = $(LIBTOOL) $(LTFLAGS) --mode=link $(COMPILE) -no-undefined $(VSNFLAG) -rpath $(libdir) $(LDFLAGS) -o $@ LINK_EXE = $(LIBTOOL) $(LTFLAGS) --mode=link $(COMPILE) $(LDFLAGS) -o $@