mirror of
https://github.com/false-schemers/skint.git
synced 2024-11-16 07:47:54 +01:00
Update Makefile
This commit is contained in:
parent
e0ea89d06f
commit
04c59f51f2
1 changed files with 7 additions and 0 deletions
7
Makefile
7
Makefile
|
@ -38,12 +38,19 @@ else
|
|||
ifneq ($(filter arm%,$(UNAME)),)
|
||||
ARCH = ARM
|
||||
endif
|
||||
ifeq ($(UNAME),riscv64)
|
||||
ARCH = RV64
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(ARCH),AMD64)
|
||||
$(info x86_64 architecture is detected)
|
||||
CFLAGS += -D NAN_BOXING
|
||||
endif
|
||||
ifeq ($(ARCH),RV64)
|
||||
$(info RISCV_64 architecture is detected)
|
||||
CFLAGS += -D NAN_BOXING
|
||||
endif
|
||||
|
||||
.PHONY: all clean realclean test install uninstall
|
||||
|
||||
|
|
Loading…
Reference in a new issue