mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
Force makefile to x86 on Apple ARM cpu (dmd does not support ARM)
This commit is contained in:
parent
51c85d9476
commit
68ca0b8d6e
1 changed files with 5 additions and 0 deletions
|
@ -74,6 +74,11 @@ endif
|
|||
ifeq (solaris,$(OS))
|
||||
CFLAGS+=-D_REENTRANT # for thread-safe errno
|
||||
endif
|
||||
ifeq (osx,$(OS))
|
||||
ifeq (64,$(MODEL))
|
||||
CFLAGS+=--target=x86_64-darwin-apple # ARM cpu is not supported by dmd
|
||||
endif
|
||||
endif
|
||||
|
||||
# Set DFLAGS
|
||||
UDFLAGS:=-conf= -Isrc -Iimport -w -de -preview=dip1000 -preview=fieldwise $(MODEL_FLAG) $(PIC) $(OPTIONAL_COVERAGE) -preview=dtorfields
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue