diff --git a/include/package.mk b/include/package.mk index 6f39ae6fa6..8f751a1b12 100644 --- a/include/package.mk +++ b/include/package.mk @@ -332,12 +332,12 @@ endef MAKE_VARS := \ CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CPPFLAGS) " \ + CXXFLAGS="$(TARGET_CFLAGS) $(EXTRA_CPPFLAGS) " \ LDFLAGS="$(EXTRA_LDFLAGS) " MAKE_FLAGS := \ $(TARGET_CONFIGURE_OPTS) \ CROSS="$(TARGET_CROSS)" \ - CXXFLAGS="$(TARGET_CFLAGS) $(EXTRA_CPPFLAGS) " \ ARCH="$(ARCH)" define Build/Compile/Default