X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/fb2ec8a7183af85d30c86a910eb71710a9c09943..e70bc620f593250450eb59d9d511980921f2d06e:/include/package.mk diff --git a/include/package.mk b/include/package.mk index 6f39ae6fa..95508bc5d 100644 --- a/include/package.mk +++ b/include/package.mk @@ -331,13 +331,13 @@ define Build/Configure endef MAKE_VARS := \ - CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CPPFLAGS) " \ + CFLAGS="$(TARGET_CFLAGS)" \ + CXXFLAGS="$(TARGET_CFLAGS) " \ LDFLAGS="$(EXTRA_LDFLAGS) " MAKE_FLAGS := \ $(TARGET_CONFIGURE_OPTS) \ CROSS="$(TARGET_CROSS)" \ - CXXFLAGS="$(TARGET_CFLAGS) $(EXTRA_CPPFLAGS) " \ ARCH="$(ARCH)" define Build/Compile/Default