Index: package.yml =================================================================== --- package.yml +++ package.yml @@ -16,6 +16,7 @@ (how else can you prove that you have recreated the hardware faithfully?). Over time, MAME absorbed the sister-project MESS (Multi Emulator Super System), so MAME now documents a wide variety of (mostly vintage) computers, video game consoles and calculators, in addition to the arcade video games that were its initial focus. +clang : yes builddeps : - pkgconfig(sdl2) - pkgconfig(SDL2_ttf) @@ -31,6 +32,7 @@ - portmidi-devel build : | # TODO: readd system Lua once 5.3 will be available + # without CC="$CC", mame will ignore clang %make USE_SYSTEM_LIB_ZLIB=1 \ USE_SYSTEM_LIB_JPEG=1 \ USE_SYSTEM_LIB_FLAC=1 \ @@ -38,7 +40,9 @@ USE_SYSTEM_LIB_EXPAT=1 \ USE_SYSTEM_LIB_PORTAUDIO=1 \ USE_SYSTEM_LIB_PORTMIDI=1 \ + CC="$CC" \ NOWERROR=1 \ + OPTIMIZE=2 \ REGENIE=1 \ install : | # TODO: add installation code as %make_install is not defined here