alnyan/yggdrasil: fix build for aarch64
This commit is contained in:
parent
8840f9fe48
commit
42f9cd9675
4
Make.inc
4
Make.inc
@ -3,7 +3,7 @@
|
|||||||
# Default build rule for any Makefile in this project: all
|
# Default build rule for any Makefile in this project: all
|
||||||
default: all
|
default: all
|
||||||
|
|
||||||
OS := $(shell uname)
|
OS ?= $(shell uname)
|
||||||
# Do not forget to bump SOMINOR when changing VERSION,
|
# Do not forget to bump SOMINOR when changing VERSION,
|
||||||
# and SOMAJOR when breaking ABI in a backward-incompatible way
|
# and SOMAJOR when breaking ABI in a backward-incompatible way
|
||||||
VERSION = 0.8.0
|
VERSION = 0.8.0
|
||||||
@ -168,7 +168,7 @@ ifneq ($(filter $(ARCH),i387 amd64),)
|
|||||||
# linux x86_64, for instance, `long double` is 80 bits wide, whereas on macOS aarch64,
|
# linux x86_64, for instance, `long double` is 80 bits wide, whereas on macOS aarch64,
|
||||||
# `long double` is the same as `double`.
|
# `long double` is the same as `double`.
|
||||||
LONG_DOUBLE_NOT_DOUBLE := 1
|
LONG_DOUBLE_NOT_DOUBLE := 1
|
||||||
else ifeq ($(ARCH), aarch64 riscv64)
|
else ifneq ($(filter $(ARCH),aarch64 riscv64),)
|
||||||
ifeq ($(filter $(OS),Darwin WINNT),)
|
ifeq ($(filter $(OS),Darwin WINNT),)
|
||||||
LONG_DOUBLE_NOT_DOUBLE := 1
|
LONG_DOUBLE_NOT_DOUBLE := 1
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user