fix(rpcs3): build without glibcxx assertions

This commit is contained in:
Lctrs 2022-03-28 17:26:08 +02:00
parent 189bd12db7
commit f7254a2c72

View file

@ -58,7 +58,10 @@ modules:
buildsystem: cmake-ninja buildsystem: cmake-ninja
builddir: true builddir: true
build-options: 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: env:
AR: llvm-ar AR: llvm-ar
CC: clang CC: clang
@ -103,6 +106,10 @@ modules:
build-options: build-options:
append-ld-library-path: /usr/lib/sdk/llvm13/lib append-ld-library-path: /usr/lib/sdk/llvm13/lib
append-path: /usr/lib/sdk/llvm13/bin append-path: /usr/lib/sdk/llvm13/bin
cflags: *optflags
cflags-override: true
cxxflags: *optflags
cxxflags-override: true
env: env:
AR: llvm-ar AR: llvm-ar
CC: clang CC: clang