summaryrefslogtreecommitdiff
path: root/core/makefile
diff options
context:
space:
mode:
authorruki <[email protected]>2020-05-08 00:34:29 +0800
committerruki <[email protected]>2020-05-07 21:26:58 +0800
commit82c0b0113747f4b150898fcbdd0d54b74769eee7 (patch)
tree4a8b0a20a810215bc0568c026080f2d55b7ef0dd /core/makefile
parent223124202f2a7f619f9e55afa7b1571c64f7de54 (diff)
add autogen for bsd
Diffstat (limited to 'core/makefile')
-rw-r--r--core/makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/makefile b/core/makefile
index d5acc252d..2a1532543 100644
--- a/core/makefile
+++ b/core/makefile
@@ -170,6 +170,7 @@ ARCH :=$(if $(findstring msys,$(PLAT)),$(MSYSARCH),$(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 bsd,$(PLAT)),x$(shell getconf LONG_BIT),$(ARCH))
ARCH :=$(if $(findstring iphoneos,$(PLAT)),armv7,$(ARCH))
ARCH :=$(if $(findstring android,$(PLAT)),armv7,$(ARCH))
ARCH :=$(if $(findstring i686,$(ARCH)),i386,$(ARCH)) # from msys/mingw32