Skip to content

Commit

Permalink
Add support for aarch64(ARMv8 arm64)
Browse files Browse the repository at this point in the history
For arm64 CPU.
It works well.
  • Loading branch information
mingxuan authored Sep 10, 2017
1 parent 836a983 commit 30137c5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,15 @@ makeLinuxx86_64:
BFLAGS="$(ENVCFLAGS) $(LNXOPT_B)" \
INCLUDE="$(ENVINCLUDE)" \
LIBS="$(LNXLIBS64)"

makeLinuxaarch64:
@make $(MKPARMS) RR=$(RELNUM) \
CC=$(LNXCC) \
BB=$(LNXcc) \
CFLAGS="$(ENVCFLAGS) $(LNXOPT)" \
BFLAGS="$(ENVCFLAGS) $(LNXOPT_B)" \
INCLUDE="$(ENVINCLUDE)" \
LIBS="$(LNXLIBS64)"

Darwin:
@MACOSX_DEPLOYMENT_TARGET=10.5;\
Expand Down

0 comments on commit 30137c5

Please sign in to comment.