From 245093731911bd9f63125c168f29dbc89f70e0ab0bd9b7d8545efb0229e5457f Mon Sep 17 00:00:00 2001 From: Alexei Sorokin Date: Thu, 26 Apr 2018 09:21:13 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=93 --- meson-fix-gcc48.patch | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/meson-fix-gcc48.patch b/meson-fix-gcc48.patch index 7bcbac8..a526b6b 100644 --- a/meson-fix-gcc48.patch +++ b/meson-fix-gcc48.patch @@ -34,6 +34,15 @@ # These arguments are only used to build the shared library # not the executables that use the library. +@@ -416,7 +416,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/unit/16 prebuilt shared/patron.c" +++ "b/test cases/unit/16 prebuilt shared/patron.c" @@ -5,4 +5,5 @@ int main(int argc, char **argv) {