summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-05-31 13:32:15 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-05-31 13:32:15 +0200
commitf51656c5b29ee317daa92aa9937fc65b66ab3e83 (patch)
treeccff539ddcae2fe0b23b3f1fef7943000050d294
parent446d33c39fdabff117b1228e087d037b048fd1f2 (diff)
Reuse BOOST_CPPFLAGS computed by configure.ac
Change-Id: I58cba84030f6a7872f912e0136dfb8d3970ac890
-rw-r--r--RepositoryExternal.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
index 938bfc07dfc4..563c0d472ac2 100644
--- a/RepositoryExternal.mk
+++ b/RepositoryExternal.mk
@@ -715,8 +715,7 @@ endef
define gb_LinkTarget__use_boost_headers
$(call gb_LinkTarget_use_unpacked,$(1),boost)
$(call gb_LinkTarget_set_include,$(1),\
- $(if $(or $(COM_IS_CLANG),$(filter GCC,$(COM))),-I$(SRCDIR)/external/boost/include) \
- -I$(call gb_UnpackedTarball_get_dir,boost) \
+ $(BOOST_CPPFLAGS) \
$$(INCLUDE) \
)