From f7254a2c72500cf8b0ef1b22472123753aa5ec7b Mon Sep 17 00:00:00 2001 From: Lctrs Date: Mon, 28 Mar 2022 17:26:08 +0200 Subject: [PATCH] fix(rpcs3): build without glibcxx assertions --- net.rpcs3.RPCS3.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/net.rpcs3.RPCS3.yaml b/net.rpcs3.RPCS3.yaml index f971a39..f269e19 100644 --- a/net.rpcs3.RPCS3.yaml +++ b/net.rpcs3.RPCS3.yaml @@ -58,7 +58,10 @@ modules: buildsystem: cmake-ninja builddir: true build-options: - cxxflags: -msse -msse2 -mcx16 + cflags: &optflags -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer + cflags-override: true + cxxflags: -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -msse -msse2 -mcx16 + cxxflags-override: true env: AR: llvm-ar CC: clang @@ -103,6 +106,10 @@ modules: build-options: append-ld-library-path: /usr/lib/sdk/llvm13/lib append-path: /usr/lib/sdk/llvm13/bin + cflags: *optflags + cflags-override: true + cxxflags: *optflags + cxxflags-override: true env: AR: llvm-ar CC: clang