From bd997a22b57e04ba5a3293db014d037b1af9b24a Mon Sep 17 00:00:00 2001 From: Craftyawesome Date: Tue, 14 Nov 2023 02:32:46 -0600 Subject: [PATCH] android x86_64 --- src/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Makefile b/src/Makefile index 59ea7bfe7b5..e14d8769da9 100644 --- a/src/Makefile +++ b/src/Makefile @@ -513,6 +513,14 @@ ifeq ($(COMP),ndk) STRIP=llvm-strip endif endif + ifeq ($(arch),x86_64) + CXX=x86_64-linux-android21-clang++ + ifneq ($(shell which x86_64-linux-android-strip 2>/dev/null),) + STRIP=x86_64-linux-android-strip + else + STRIP=llvm-strip + endif + endif LDFLAGS += -static-libstdc++ -pie -lm -latomic endif