summaryrefslogtreecommitdiff
path: root/emulators/mame/patches/patch-scripts_genie.lua
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/mame/patches/patch-scripts_genie.lua')
-rw-r--r--emulators/mame/patches/patch-scripts_genie.lua23
1 files changed, 4 insertions, 19 deletions
diff --git a/emulators/mame/patches/patch-scripts_genie.lua b/emulators/mame/patches/patch-scripts_genie.lua
index 620deb7ddf7..0965d072103 100644
--- a/emulators/mame/patches/patch-scripts_genie.lua
+++ b/emulators/mame/patches/patch-scripts_genie.lua
@@ -1,11 +1,11 @@
-$NetBSD: patch-scripts_genie.lua,v 1.6 2017/01/04 23:05:12 wiz Exp $
+$NetBSD: patch-scripts_genie.lua,v 1.7 2019/11/08 09:44:17 wiz Exp $
Precompilation is broken on NetBSD with gcc-5.3.
Use GNU version of the C++ standard to avoid trouble with alloca on NetBSD.
---- scripts/genie.lua.orig 2016-12-27 21:02:43.000000000 +0000
+--- scripts/genie.lua.orig 2019-10-29 17:16:37.000000000 +0000
+++ scripts/genie.lua
-@@ -70,11 +70,6 @@ function layoutbuildtask(_folder, _name)
+@@ -73,11 +73,6 @@ function layoutbuildtask(_folder, _name)
end
function precompiledheaders()
@@ -16,19 +16,4 @@ Use GNU version of the C++ standard to avoid trouble with alloca on NetBSD.
- end
end
- function addprojectflags()
-@@ -711,12 +706,12 @@ if string.find(_OPTIONS["gcc"], "clang")
- else
- buildoptions_cpp {
- "-x c++",
-- "-std=c++14",
-+ "-std=gnu++14",
- }
-
- buildoptions_objcpp {
- "-x objective-c++",
-- "-std=c++14",
-+ "-std=gnu++14",
- }
- end
- -- this speeds it up a bit by piping between the preprocessor/compiler/assembler
+ function precompiledheaders_novs()