diff options
author | Alexandre Bouvier | 2023-04-09 09:19:21 +0200 |
---|---|---|
committer | Alexandre Bouvier | 2023-04-09 09:19:21 +0200 |
commit | 0e5982733f4b7f091964518e7abcd583163ccc53 (patch) | |
tree | efdbf15379ec1fc7254c8732c0f3827ca79596be | |
parent | 123cd41bb07376a85f365882f8de33910a07ea6e (diff) | |
download | aur-0e5982733f4b7f091964518e7abcd583163ccc53.tar.gz |
:$
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -27,8 +27,6 @@ makedepends=( 'fast_float' 'ffmpeg' 'git' - # 'libbacktrace' - # 'libxrandr' 'sdl2' 'soundtouch' ) @@ -54,18 +52,20 @@ pkgver() { prepare() { cd $_pkgname - # sed -i '/ccache/d' CMakeLists.txt - sed -i '/USE_GCC/s/AND CMAKE_INTERPROCEDURAL_OPTIMIZATION//' common/CMakeLists.txt - sed -i '/USE_SYSTEM_LIBS/s/OFF/ON/' cmake/BuildParameters.cmake git config submodule.3rdparty/glslang/glslang.url ../glslang git config submodule.3rdparty/libchdr/libchdr.url ../libchdr git config submodule.3rdparty/vulkan-headers.url ../vulkan-headers git -c protocol.file.allow=always submodule update + sed -i '/ccache/d' CMakeLists.txt + sed -i '/USE_GCC/s/AND CMAKE_INTERPROCEDURAL_OPTIMIZATION//' common/CMakeLists.txt + sed -i '/USE_SYSTEM_LIBS/s/OFF/ON/' cmake/BuildParameters.cmake } build() { cmake -S $_pkgname -B build \ -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" \ + -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" \ -DLIBRETRO=ON \ -Wno-dev cmake --build build |