Index: Makefile |
diff --git a/Makefile b/Makefile |
index 399c64d599d7230c40f2479585cd164228d02cf1..af8857638e609e181960de7ba7e9b03e7972c0aa 100644 |
--- a/Makefile |
+++ b/Makefile |
@@ -100,8 +100,11 @@ all: ensure_dependencies |
NDK_APP_DST_DIR=android-$(ABP_TARGET_ARCH).release |
else |
SUB_ACTION ?= all |
+ifdef CXX |
+CXX_PARAM:=CXX=${CXX} |
+endif |
all: ensure_dependencies |
GYP_DEFINES="${GYP_PARAMETERS}" third_party/gyp/gyp --depth=. -f make -I libadblockplus.gypi --generator-output=${BUILD_DIR} libadblockplus.gyp |
- $(MAKE) -C ${BUILD_DIR} ${SUB_ACTION} |
+ $(MAKE) -C ${BUILD_DIR} ${SUB_ACTION} ${CXX_PARAM} |
sergei
2018/07/05 10:29:34
It's not enough to define a local variable CXX, we
|
endif |