mirror of
https://github.com/holub/mame
synced 2025-06-08 22:03:55 +03:00
Fix macOS build (nw)
This commit is contained in:
parent
68bd81d11a
commit
a2c76b34d8
@ -681,7 +681,7 @@ if string.find(_OPTIONS["gcc"], "clang") and ((version < 30500) or (_OPTIONS["ta
|
|||||||
"-std=c++1y",
|
"-std=c++1y",
|
||||||
}
|
}
|
||||||
|
|
||||||
buildoptions_objc {
|
buildoptions_objcpp {
|
||||||
"-x objective-c++",
|
"-x objective-c++",
|
||||||
"-std=c++1y",
|
"-std=c++1y",
|
||||||
}
|
}
|
||||||
@ -691,7 +691,7 @@ else
|
|||||||
"-std=c++14",
|
"-std=c++14",
|
||||||
}
|
}
|
||||||
|
|
||||||
buildoptions_objc {
|
buildoptions_objcpp {
|
||||||
"-x objective-c++",
|
"-x objective-c++",
|
||||||
"-std=c++14",
|
"-std=c++14",
|
||||||
}
|
}
|
||||||
@ -916,7 +916,7 @@ if _OPTIONS["targetos"]~="freebsd" then
|
|||||||
end
|
end
|
||||||
|
|
||||||
-- warnings only applicable to OBJ-C compiles
|
-- warnings only applicable to OBJ-C compiles
|
||||||
buildoptions_objc {
|
buildoptions_objcpp {
|
||||||
"-Wpointer-arith",
|
"-Wpointer-arith",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user