summaryrefslogtreecommitdiffstats
path: root/redhat/main/tdesdk
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/tdesdk
parentde57d9f325dd0966336b79729f52c432eef108b9 (diff)
downloadtde-packaging-6fd6cc2d282947ad8a1803e72b0e4714ae7d533d.tar.gz
tde-packaging-6fd6cc2d282947ad8a1803e72b0e4714ae7d533d.zip
RPM: remove NDEBUG option from cmake build
Diffstat (limited to 'redhat/main/tdesdk')
-rw-r--r--redhat/main/tdesdk/tdesdk.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/redhat/main/tdesdk/tdesdk.spec b/redhat/main/tdesdk/tdesdk.spec
index 06caa5ca5..ce219d87b 100644
--- a/redhat/main/tdesdk/tdesdk.spec
+++ b/redhat/main/tdesdk/tdesdk.spec
@@ -1047,8 +1047,8 @@ export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -L%{tde_libdir}"
%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_NO_BUILTIN_CHRPATH=ON \
-DCMAKE_INSTALL_RPATH="%{tde_libdir}" \