diff options
| author | ruki <[email protected]> | 2020-02-13 22:42:20 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-02-13 10:14:04 +0800 |
| commit | c1538384d08541509c463097bf26d1540d7d584d (patch) | |
| tree | 79ed34248a6ab39410612d9229716f8ebf698784 /core/makefile | |
| parent | 4cd450c954ecea35e8854dac5ad1062281bfc4c1 (diff) | |
fix build xmake on cygwin
Diffstat (limited to 'core/makefile')
| -rw-r--r-- | core/makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/makefile b/core/makefile index 7278bf18e..44d334871 100644 --- a/core/makefile +++ b/core/makefile @@ -161,6 +161,7 @@ ifeq ($(ARCH),) ARCH :=$(if $(findstring windows,$(PLAT)),x86,$(ARCH)) ARCH :=$(if $(findstring msys,$(PLAT)),x$(shell getconf LONG_BIT),$(ARCH)) +ARCH :=$(if $(findstring cygwin,$(PLAT)),x$(shell getconf LONG_BIT),$(ARCH)) ARCH :=$(if $(findstring macosx,$(PLAT)),x$(shell getconf LONG_BIT),$(ARCH)) ARCH :=$(if $(findstring linux,$(PLAT)),x$(shell getconf LONG_BIT),$(ARCH)) ARCH :=$(if $(findstring x32,$(ARCH)),i386,$(ARCH)) |
