From 22ecf27aa5b0932e25abb19b431b551d2792cc57 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Wed, 27 Feb 2013 12:02:59 -0700 Subject: [PATCH] use -I$(src) instead of -idirafter $(src) This fixes the iOS build, where the wrong version of util.h was being used. The change to use -idirafter happened way back in 2007, and I can't remember what its intention was. We'll have to watch for regressions on other platforms. --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index 20497d054a..be624157e4 100755 --- a/makefile +++ b/makefile @@ -267,7 +267,7 @@ warnings = -Wall -Wextra -Werror -Wunused-parameter -Winit-self \ target-cflags = -DTARGET_BYTES_PER_WORD=$(pointer-size) common-cflags = $(warnings) -fno-rtti -fno-exceptions -I$(classpath-src) \ - "-I$(JAVA_HOME)/include" -idirafter $(src) -I$(build) -Iinclude $(classpath-cflags) \ + "-I$(JAVA_HOME)/include" -I$(src) -I$(build) -Iinclude $(classpath-cflags) \ -D__STDC_LIMIT_MACROS -D_JNI_IMPLEMENTATION_ -DAVIAN_VERSION=\"$(version)\" \ -DAVIAN_INFO="\"$(info)\"" \ -DUSE_ATOMIC_OPERATIONS -DAVIAN_JAVA_HOME=\"$(javahome)\" \