mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 00:08:58 -04:00
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:
parent
7a9bef35aa
commit
87ef810d8b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user