MAME: added flags inside the make command directly

This commit is contained in:
XargonWan 2024-01-03 08:39:33 +01:00 committed by GitHub
parent 3be8f6af7e
commit 7e57d0d51b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,14 +44,13 @@ modules:
build-options: build-options:
no-debuginfo: true no-debuginfo: true
strip: true strip: true
env:
CC: clang
CXX: clang++
LD: lld
build-commands: build-commands:
- make - make
-j echo $(nproc) -j echo $(nproc)
CFLAGS+=-Wno-error=restrict CFLAGS+=-Wno-error=restrict
CC=clang
CXX=clang++
LD=lld
USE_QTDEBUG=0 USE_QTDEBUG=0
USE_WAYLAND=1 USE_WAYLAND=1
USE_SYSTEM_LIB_FLAC=1 USE_SYSTEM_LIB_FLAC=1
@ -86,4 +85,4 @@ modules:
- type: patch - type: patch
path: mame-patches/sound.patch path: mame-patches/sound.patch
- type: patch - type: patch
path: mame-patches/ym3802.patch path: mame-patches/ym3802.patch