This is super annoying

This commit is contained in:
ferrreo 2023-04-28 20:54:33 +01:00 committed by GitHub
parent 8b34cf3a8b
commit 0cf175f45c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,6 +18,7 @@ sed -i 's|-Werror-implicit-function-declaration||g' CMakeLists.txt
# there's probably a cleaner way to do this by modifying what compile flags # there's probably a cleaner way to do this by modifying what compile flags
# the rpmbuilder adds # the rpmbuilder adds
sed -i 's| -Werror||g' cmake/Modules/CompilerConfig.cmake sed -i 's| -Werror||g' cmake/Modules/CompilerConfig.cmake
sed -i 's| -Wswitch||g' cmake/Modules/CompilerConfig.cmake
for i in ../patches/*.patch; do patch -Np1 -i $i ;done for i in ../patches/*.patch; do patch -Np1 -i $i ;done