games-emulation/yuzu-9999: suppress all Werror from extra project flags

Signed-off-by: Samuel Bauer <samuel.bauer@yahoo.fr>
This commit is contained in:
Samuel Bauer 2022-11-13 02:05:13 +01:00
parent 7a9bef35aa
commit 87ef810d8b
No known key found for this signature in database
GPG Key ID: CD0084656E332317

View File

@ -83,8 +83,8 @@ src_unpack() {
}
src_prepare() {
# unused-result maybe temporary fix
sed -i -e '/Werror=unused-result/d' src/CMakeLists.txt || die
# temporary fix
sed -i -e '/Werror/d' src/CMakeLists.txt || die
# headers is not a valid boost component
sed -i -e '/find_package(Boost/{s/headers //;s/CONFIG //}' CMakeLists.txt || die
@ -98,9 +98,6 @@ src_prepare() {
-e '/target_link_libraries/s/inih/${INIH_LIBRARIES}/' src/yuzu_cmd/CMakeLists.txt || die
sed -i -e 's:inih/cpp/::' src/yuzu_cmd/config.cpp || die
# Unbundle xbyak ( uncomment when xbyak version is ok or never as it is only headers )
# sed -i -e '/^# xbyak/,/^endif()/d' externals/CMakeLists.txt || die
if use system-vulkan; then # Unbundle vulkan headers
sed -i -e 's:../../externals/Vulkan-Headers/include:/usr/include/vulkan/:' src/video_core/CMakeLists.txt src/yuzu/CMakeLists.txt src/yuzu_cmd/CMakeLists.txt || die
fi