Skip to content

Commit

Permalink
android x86_64
Browse files Browse the repository at this point in the history
  • Loading branch information
Craftyawesome committed Nov 14, 2023
1 parent fbc6b27 commit bd997a2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit bd997a2

Please sign in to comment.