commit 2f069d48a512b2dc5a27c02507d39955492e570e
Author: Uwe Klotz <uklotz(a)mixxx.org>
Date: Fri Mar 11 10:40:53 2022 +0100
Do not abort the build on warnings
mixxx.spec | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/mixxx.spec b/mixxx.spec
index 65f3c02..688d162 100644
--- a/mixxx.spec
+++ b/mixxx.spec
@@ -116,12 +116,16 @@ mkdir -p %{__cmake_builddir}/downloads
cp %{SOURCE1} %{__cmake_builddir}/downloads
%build
+
+# TODO: Set -DWARNINGS_FATAL=ON
+# Disabled temporarily to fix compile errors caused by googletest macro EXPECT_CALL
+# that fails on -Werror=maybe-uninitialized with GCC 12.
%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