diff options
| author | WilledgeR <[email protected]> | 2021-11-17 23:15:07 +0330 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-11-17 20:45:07 +0100 |
| commit | e24443bbbcc40b2e323002c43215c3762fc922ba (patch) | |
| tree | 247cf12b5365b42acf0dc2c612ad4caf1f3cd163 /src/Makefile | |
| parent | 03f55d8f9eb66a5229af05a92c133617306081e1 (diff) | |
| download | raylib-e24443bbbcc40b2e323002c43215c3762fc922ba.tar.gz raylib-e24443bbbcc40b2e323002c43215c3762fc922ba.zip | |
Fixes CC while compiling for ANDROID_ARCH x86 (#2148)
* Override CC while compiling for ANDROID_ARCH x86
* REfix Override CC while compiling
Diffstat (limited to 'src/Makefile')
| -rw-r--r-- | src/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile index 6fbb8a3f..53d4e768 100644 --- a/src/Makefile +++ b/src/Makefile @@ -259,6 +259,12 @@ ifeq ($(PLATFORM),PLATFORM_ANDROID) ifeq ($(ANDROID_ARCH),arm64) CC = $(ANDROID_TOOLCHAIN)/bin/$(ANDROID_COMPILER_ARCH)-linux-android$(ANDROID_API_VERSION)-clang endif + ifeq ($(ANDROID_ARCH),x86) + CC = $(ANDROID_TOOLCHAIN)/bin/$(ANDROID_COMPILER_ARCH)-linux-android$(ANDROID_API_VERSION)-clang + endif + ifeq ($(ANDROID_ARCH),x86_64) + CC = $(ANDROID_TOOLCHAIN)/bin/$(ANDROID_COMPILER_ARCH)-linux-android$(ANDROID_API_VERSION)-clang + endif # It seems from Android NDK r22 onwards we need to use llvm-ar AR = $(ANDROID_TOOLCHAIN)/bin/llvm-ar endif |
