From 2eea602a6054a2f58f56f0a80f13fc9263b31facb507766a8088f177b10fb565 Mon Sep 17 00:00:00 2001 From: Alexei Sorokin Date: Sun, 16 Dec 2018 22:20:42 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=119 --- meson-fix-gcc48.patch | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/meson-fix-gcc48.patch b/meson-fix-gcc48.patch index b7bb7c5..b77d57b 100644 --- a/meson-fix-gcc48.patch +++ b/meson-fix-gcc48.patch @@ -1,3 +1,32 @@ +--- a/mesonbuild/minit.py ++++ b/mesonbuild/minit.py +@@ -143,7 +143,7 @@ int main(int argc, char **argv) {{ + hello_cpp_meson_template = '''project('{project_name}', 'cpp', + version : '{version}', + default_options : ['warning_level=3', +- 'cpp_std=c++14']) ++ 'cpp_std=c++1y']) + + exe = executable('{exe_name}', '{source_name}', + install : true) +@@ -214,7 +214,7 @@ int main(int argc, char **argv) {{ + + lib_cpp_meson_template = '''project('{project_name}', 'cpp', + version : '{version}', +- default_options : ['warning_level=3', 'cpp_std=c++14']) ++ default_options : ['warning_level=3', 'cpp_std=c++1y']) + + # These arguments are only used to build the shared library + # not the executables that use the library. +@@ -404,7 +404,7 @@ def create_meson_build(options): + default_options = ['warning_level=3'] + if options.language == 'cpp': + # This shows how to set this very common option. +- default_options += ['cpp_std=c++14'] ++ default_options += ['cpp_std=c++1y'] + # If we get a meson.build autoformatter one day, this code could + # be simplified quite a bit. + formatted_default_options = ', '.join("'{}'".format(x) for x in default_options) --- "a/test cases/common/152 simd/simdchecker.c" +++ "b/test cases/common/152 simd/simdchecker.c" @@ -10,11 +10,12 @@ int check_simd_implementation(float *fou