From 7873ae5101c40aa1bc6034a989e49e5f39d739f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= <albator78@libertysurf.fr>
Date: Sun, 7 Feb 2021 14:26:57 +0100
Subject: RPM: remove NDEBUG option from cmake build

---
 redhat/main/tdegames/tdegames.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'redhat/main/tdegames/tdegames.spec')

diff --git a/redhat/main/tdegames/tdegames.spec b/redhat/main/tdegames/tdegames.spec
index 74f9d8e14..77a00fd4a 100644
--- a/redhat/main/tdegames/tdegames.spec
+++ b/redhat/main/tdegames/tdegames.spec
@@ -1190,8 +1190,8 @@ fi
 
 %cmake \
   -DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-  -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-  -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
+  -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \
+  -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \
   -DCMAKE_SKIP_RPATH=OFF \
   -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
   -DCMAKE_NO_BUILTIN_CHRPATH=ON \
-- 
cgit v1.2.1