summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorChristoph Muellner <christophm30@gmail.com>2018-05-05 12:50:30 (GMT)
committerDavid Goldblatt <davidtgoldblatt@gmail.com>2018-05-05 17:11:22 (GMT)
commitb73380bee0abde8e74f43d19d099cc151f51eb58 (patch)
tree408e3384c3ea8030220060693704e1a00071f9df /Makefile.in
parent4c8829e6924ee7abae6f41ca57303a88dd6f1315 (diff)
downloadjemalloc-b73380bee0abde8e74f43d19d099cc151f51eb58.zip
jemalloc-b73380bee0abde8e74f43d19d099cc151f51eb58.tar.gz
jemalloc-b73380bee0abde8e74f43d19d099cc151f51eb58.tar.bz2
Fix include path order for out-of-tree builds.
When configuring out-of-tree (source directory is not build directory), the generated include files from the build directory should have higher priority than those in the source dir. This is especially helpful when cross-compiling. Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index e229196..9b9347f 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -24,7 +24,7 @@ abs_srcroot := @abs_srcroot@
abs_objroot := @abs_objroot@
# Build parameters.
-CPPFLAGS := @CPPFLAGS@ -I$(srcroot)include -I$(objroot)include
+CPPFLAGS := @CPPFLAGS@ -I$(objroot)include -I$(srcroot)include
CONFIGURE_CFLAGS := @CONFIGURE_CFLAGS@
SPECIFIED_CFLAGS := @SPECIFIED_CFLAGS@
EXTRA_CFLAGS := @EXTRA_CFLAGS@