Commit f9c55082 authored by nanahira's avatar nanahira

premake5 problem

parent ab58d150
Pipeline #15257 passed with stages
in 29 minutes and 3 seconds
...@@ -198,6 +198,8 @@ exec_macos_platform_m1: ...@@ -198,6 +198,8 @@ exec_macos_platform_m1:
extends: ._exec_macos_platform extends: ._exec_macos_platform
tags: tags:
- macos-m1 - macos-m1
variables:
MAC_ARM: 1
exec_macos: exec_macos:
stage: combine stage: combine
......
...@@ -201,7 +201,6 @@ if os.istarget("macosx") then ...@@ -201,7 +201,6 @@ if os.istarget("macosx") then
if GetParam("mac-arm") then if GetParam("mac-arm") then
MAC_ARM = true MAC_ARM = true
end end
ON_MAC_ARM = MAC_ARM or os.outputof("arch") == "arm64"
end end
workspace "YGOPro" workspace "YGOPro"
...@@ -261,7 +260,7 @@ workspace "YGOPro" ...@@ -261,7 +260,7 @@ workspace "YGOPro"
filter { "configurations:Release", "not action:vs*" } filter { "configurations:Release", "not action:vs*" }
symbols "On" symbols "On"
defines "NDEBUG" defines "NDEBUG"
if not ON_MAC_ARM then if not MAC_ARM then
buildoptions "-march=native" buildoptions "-march=native"
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment