summaryrefslogtreecommitdiffstats
path: root/redhat/main/tdevelop
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2021-02-07 14:30:29 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2021-02-07 14:30:29 +0100
commit6fd6cc2d282947ad8a1803e72b0e4714ae7d533d (patch)
tree077e6d0eafc1a9043cddcdf1a4dd7434f3277a66 /redhat/main/tdevelop
parentde57d9f325dd0966336b79729f52c432eef108b9 (diff)
downloadtde-packaging-6fd6cc2d282947ad8a1803e72b0e4714ae7d533d.tar.gz
tde-packaging-6fd6cc2d282947ad8a1803e72b0e4714ae7d533d.zip
RPM: remove NDEBUG option from cmake build
Diffstat (limited to 'redhat/main/tdevelop')
-rw-r--r--redhat/main/tdevelop/tdevelop.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/redhat/main/tdevelop/tdevelop.spec b/redhat/main/tdevelop/tdevelop.spec
index 6a85c31f9..7ee98f8d6 100644
--- a/redhat/main/tdevelop/tdevelop.spec
+++ b/redhat/main/tdevelop/tdevelop.spec
@@ -622,8 +622,8 @@ fi
# Warning: GCC visibility causes FTBFS [Bug #1285]
%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 \