summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/pkg-rebar.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/pkg-rebar.mk b/package/pkg-rebar.mk
index c727489bef..44c6d6c8d2 100644
--- a/package/pkg-rebar.mk
+++ b/package/pkg-rebar.mk
@@ -158,7 +158,9 @@ ifndef $(2)_BUILD_CMDS
define $(2)_BUILD_CMDS
(cd $$(@D); \
CC="$$(TARGET_CC)" \
+ CXX="$$(TARGET_CXX)" \
CFLAGS="$$(TARGET_CFLAGS)" \
+ CXXFLAGS="$$(TARGET_CXXFLAGS)" \
LDFLAGS="$$(TARGET_LDFLAGS)" \
$$(REBAR_TARGET_DEPS_ENV) \
$$(TARGET_MAKE_ENV) \
OpenPOWER on IntegriCloud