commit 2e500162de9153189413638be30888633a3d52da
Author: Uwe Klotz <uklotz(a)mixxx.org>
Date: Fri Mar 11 02:04:13 2022 +0100
Revert "Do not abort the build on warnings"
This reverts commit 3d039ef39863df178939038ed5dcc3c560a0e618.
mixxx.spec | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/mixxx.spec b/mixxx.spec
index 093eaae..5267b61 100644
--- a/mixxx.spec
+++ b/mixxx.spec
@@ -114,15 +114,13 @@ 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=OFF \
+ -DWARNINGS_FATAL=ON \
-DBATTERY=ON \
-DBROADCAST=ON \
-DBULK=ON \