summaryrefslogtreecommitdiffstats
path: root/redhat/main/tdevelop/tdevelop.spec
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2021-02-07 14:26:57 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2021-02-07 14:26:57 +0100
commit7873ae5101c40aa1bc6034a989e49e5f39d739f5 (patch)
tree3e57c0725599965824943919c9462e9c3d157e2b /redhat/main/tdevelop/tdevelop.spec
parent2d5d8120003cbf8462666352cc83ffed322c9cc0 (diff)
downloadtde-packaging-7873ae5101c40aa1bc6034a989e49e5f39d739f5.tar.gz
tde-packaging-7873ae5101c40aa1bc6034a989e49e5f39d739f5.zip
RPM: remove NDEBUG option from cmake build
Diffstat (limited to 'redhat/main/tdevelop/tdevelop.spec')
-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 488b96714..2f2705d5c 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 \