commit 3d039ef39863df178939038ed5dcc3c560a0e618
Author: Uwe Klotz <uklotz(a)mixxx.org>
Date: Wed Mar 9 01:16:51 2022 +0100
Do not abort the build on warnings
mixxx.spec | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/mixxx.spec b/mixxx.spec
index 5267b61..093eaae 100644
--- a/mixxx.spec
+++ b/mixxx.spec
@@ -114,13 +114,15 @@ echo "#pragma once" > src/build.h
mkdir -p %{__cmake_builddir}/downloads
cp %{SOURCE1} %{__cmake_builddir}/downloads
+# TODO: Set -DWARNINGS_FATAL=ON
+# Disabled to fix compile errors in googletest caused by -Wrestrict (implied by -Wall)
%build
%cmake \
-GNinja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DOPTIMIZE=portable \
-DINSTALL_USER_UDEV_RULES=ON \
- -DWARNINGS_FATAL=ON \
+ -DWARNINGS_FATAL=OFF \
-DBATTERY=ON \
-DBROADCAST=ON \
-DBULK=ON \
Show replies by date