mirror of
https://github.com/diamante0018/master-tool.git
synced 2025-06-27 06:41:58 +00:00
build: add amd64 macos (#80)
This commit is contained in:
14
deps/premake/libtomcrypt.lua
vendored
14
deps/premake/libtomcrypt.lua
vendored
@ -54,15 +54,13 @@ function libtomcrypt.project()
|
||||
"_USRDLL",
|
||||
}
|
||||
|
||||
if os.istarget("darwin") then
|
||||
filter "platforms:x64"
|
||||
buildoptions "-march=native"
|
||||
filter {}
|
||||
filter { "system:macosx", "platforms:arm64" }
|
||||
buildoptions "-mcpu=apple-m1"
|
||||
filter {}
|
||||
|
||||
filter "platforms:arm64"
|
||||
buildoptions "-mcpu=apple-m1"
|
||||
filter {}
|
||||
end
|
||||
filter { "system:macosx", "platforms:x64" }
|
||||
buildoptions "-mcpu=x86-64"
|
||||
filter {}
|
||||
|
||||
warnings "Off"
|
||||
kind "StaticLib"
|
||||
|
Reference in New Issue
Block a user