diff options
author | Christoph Muellner <christophm30@gmail.com> | 2018-05-05 14:50:30 +0200 |
---|---|---|
committer | David Goldblatt <davidtgoldblatt@gmail.com> | 2018-05-05 10:11:22 -0700 |
commit | b73380bee0abde8e74f43d19d099cc151f51eb58 (patch) | |
tree | 408e3384c3ea8030220060693704e1a00071f9df | |
parent | 4c8829e6924ee7abae6f41ca57303a88dd6f1315 (diff) | |
download | platform_external_jemalloc_new-b73380bee0abde8e74f43d19d099cc151f51eb58.tar.gz platform_external_jemalloc_new-b73380bee0abde8e74f43d19d099cc151f51eb58.tar.bz2 platform_external_jemalloc_new-b73380bee0abde8e74f43d19d099cc151f51eb58.zip |
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>
-rw-r--r-- | Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index e229196c..9b9347ff 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@ |