From 0034ed4464c69e77c2837c4d6d00871d741cdb54 Mon Sep 17 00:00:00 2001 From: varris1 <38386180+varris1@users.noreply.github.com> Date: Fri, 11 May 2018 11:30:03 +0200 Subject: [PATCH] [general] Let meson handle cflags (#362) Meson determines the cflags by --buildtype. Letting meson handle it will fix the OW crash. --- build-win32.txt | 3 --- build-win64.txt | 3 --- 2 files changed, 6 deletions(-) diff --git a/build-win32.txt b/build-win32.txt index b1ee8ed6e..5d41bf426 100644 --- a/build-win32.txt +++ b/build-win32.txt @@ -6,10 +6,7 @@ strip = '/usr/bin/i686-w64-mingw32-strip' exe_wrapper = 'wine' [properties] -c_args = ['-Og', '-gdwarf-2'] c_link_args = ['-static', '-static-libgcc'] - -cpp_args = ['-Og', '-gdwarf-2'] cpp_link_args = ['-static', '-static-libgcc', '-static-libstdc++', '-Wl,--add-stdcall-alias,--enable-stdcall-fixup'] [host_machine] diff --git a/build-win64.txt b/build-win64.txt index ac19898a7..29499b48d 100644 --- a/build-win64.txt +++ b/build-win64.txt @@ -6,10 +6,7 @@ strip = '/usr/bin/x86_64-w64-mingw32-strip' exe_wrapper = 'wine' [properties] -c_args = ['-Og', '-gdwarf-2'] c_link_args = ['-static', '-static-libgcc'] - -cpp_args = ['-Og', '-gdwarf-2'] cpp_link_args = ['-static', '-static-libgcc', '-static-libstdc++'] [host_machine]