commit 843ee8e73b1d112b8a3886d4d5056cfa553528d0
Author: Michael Cronenworth <mike(a)cchtml.com>
Date: Fri Jul 10 09:34:10 2020 -0500
Stop CMAKE from overriding RPM CFLAGs
kodi.spec | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/kodi.spec b/kodi.spec
index e3a76aa..f560b13 100644
--- a/kodi.spec
+++ b/kodi.spec
@@ -397,6 +397,9 @@ do
-DFFMPEG_URL=%{SOURCE5} \
%endif
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING="-DNDEBUG" \
+ -DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING="-DNDEBUG" \
+ -DCMAKE_ASM_FLAGS_RELWITHDEBINFO:STRING="-DNDEBUG" \
-DENABLE_DEBUGFISSION=OFF \
-GNinja \
-DENABLE_EVENTCLIENTS=ON \
Show replies by date