ref: 94f0a17532f5688925d7a3a92ac6da1d3e274667
parent: 569aa5c9897f1494e32133d615cb69ebb05fdc0c
parent: 279941535a2c3c28b256d5e7c208cdafef1b74c1
author: guangwei <[email protected]>
date: Mon Mar 4 05:46:54 EST 2019
Merge pull request #3095 from dminor/remove-android-compiler-check Remove check for working compiler in NDK
--- a/build/platform-android.mk
+++ b/build/platform-android.mk
@@ -73,9 +73,11 @@
LDFLAGS += -Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libunwind.a
endif
+ifneq ($(findstring /,$(CXX)),$(findstring \,$(CXX)))
ifneq ($(CXX),$(wildcard $(CXX)))
ifneq ($(CXX).exe,$(wildcard $(CXX).exe))
$(error Compiler not found, bad NDKROOT or ARCH?)
+endif
endif
endif