Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
R
rd-ygopro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
苍蓝
rd-ygopro
Commits
44822c06
Commit
44822c06
authored
Aug 02, 2022
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix arm build
parent
307ad5df
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
premake5.lua
premake5.lua
+3
-2
No files found.
premake5.lua
View file @
44822c06
...
@@ -196,8 +196,9 @@ BUILD_IKPMP3 = USE_IRRKLANG
...
@@ -196,8 +196,9 @@ BUILD_IKPMP3 = USE_IRRKLANG
if
GetParam
(
"winxp-support"
)
and
os
.
istarget
(
"windows"
)
then
if
GetParam
(
"winxp-support"
)
and
os
.
istarget
(
"windows"
)
then
WINXP_SUPPORT
=
true
WINXP_SUPPORT
=
true
end
end
if
GetParam
(
"mac-arm"
)
and
os
.
istarget
(
"macosx"
)
then
if
os
.
istarget
(
"macosx"
)
then
MAC_ARM
=
true
MAC_ARM
=
true
ON_MAC_ARM
=
MAC_ARM
or
io.popen
(
'arch'
):
read
(
'*l'
)
==
"arm64"
end
end
workspace
"YGOPro"
workspace
"YGOPro"
...
@@ -257,7 +258,7 @@ workspace "YGOPro"
...
@@ -257,7 +258,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
MAC_ARM
then
if
not
ON_
MAC_ARM
then
buildoptions
"-march=native"
buildoptions
"-march=native"
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment