mirror of
https://github.com/corda/corda.git
synced 2025-01-01 02:36:44 +00:00
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.
This commit is contained in:
parent
3c1db46c57
commit
22ecf27aa5
2
makefile
2
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)\" \
|
||||
|
Loading…
Reference in New Issue
Block a user