summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbdoulaye Walsimou GAYE <awg@embtoolkit.org>2014-10-25 22:21:40 +0200
committerAbdoulaye Walsimou GAYE <awg@embtoolkit.org>2014-10-25 22:21:40 +0200
commit154d154ec2ce42b8401336435431edd1ee732f6a (patch)
treecd943dc84dd0f6b83929d0763432e1782e77d639
parent6e77268db96c646b762dbf8481ee4bfb0f568588 (diff)
downloadembtoolkit-154d154ec2ce42b8401336435431edd1ee732f6a.tar.gz
embtoolkit-154d154ec2ce42b8401336435431edd1ee732f6a.tar.bz2
embtoolkit-154d154ec2ce42b8401336435431edd1ee732f6a.tar.xz
Bluid system: host tools: make package cflags/cppflags take precedence over other defined
Signed-off-by: Abdoulaye Walsimou GAYE <awg@embtoolkit.org>
-rw-r--r--core/mk/pkg-macros/configure.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/mk/pkg-macros/configure.mk b/core/mk/pkg-macros/configure.mk
index 6a60fe4..710bc80 100644
--- a/core/mk/pkg-macros/configure.mk
+++ b/core/mk/pkg-macros/configure.mk
@@ -143,7 +143,7 @@ define embtk_configure_hostpkg
$(Q)test -e $(__embtk_pkg_configurescript) || exit 1
$(call __embtk_print_configure_opts,$(__embtk_pkg_configureopts))
$(Q)cd $(__embtk_pkg_builddir); \
- CPPFLAGS="$(__embtk_hostpkg_cppflags) $(__embtk_pkg_cppflags)" \
+ CPPFLAGS="$(__embtk_pkg_cppflags) $(__embtk_hostpkg_cppflags)" \
$(if $(__embtk_pkg_cflags),CFLAGS="$(__embtk_pkg_cflags)") \
LDFLAGS="$(__embtk_hostpkg_ldflags)" \
PKG_CONFIG="$(PKGCONFIG_BIN)" \