[packages/rpm-build-macros] - disable qt debugging, too
arekm
arekm at pld-linux.org
Sun Nov 3 18:34:12 CET 2013
commit 1271c350ff106e4b8ad64c122e92398c1465c3b8
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sun Nov 3 18:34:09 2013 +0100
- disable qt debugging, too
rpm.macros | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/rpm.macros b/rpm.macros
index 1700436..39e0707 100644
--- a/rpm.macros
+++ b/rpm.macros
@@ -251,9 +251,9 @@ CPPFLAGS="${CPPFLAGS:-%{rpmcppflags}}" \\\
-DLIB_INSTALL_DIR:PATH=%{_libdir} \\\
-DSHARE_INSTALL_PREFIX:PATH=%{_datadir} \\\
-DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \\\
- -DCMAKE_CXX_FLAGS_PLD="${CXXFLAGS:-%{rpmcxxflags} -DNDEBUG}" \\\
- -DCMAKE_C_FLAGS_PLD="${CFLAGS:-%{rpmcflags} -DNDEBUG}" \\\
- -DCMAKE_Fortran_FLAGS_PLD="${CFLAGS:-%{rpmcflags} -DNDEBUG}" \\\
+ -DCMAKE_CXX_FLAGS_PLD="${CXXFLAGS:-%{rpmcxxflags} -DNDEBUG -DQT_NO_DEBUG}" \\\
+ -DCMAKE_C_FLAGS_PLD="${CFLAGS:-%{rpmcflags} -DNDEBUG -DQT_NO_DEBUG}" \\\
+ -DCMAKE_Fortran_FLAGS_PLD="${CFLAGS:-%{rpmcflags} -DNDEBUG -DQT_NO_DEBUG}" \\\
-DCMAKE_EXE_LINKER_FLAGS_PLD="${LDFLAGS:-%{rpmldflags}}" \\\
-DCMAKE_SHARED_LINKER_FLAGS_PLD="${LDFLAGS:-%{rpmldflags}}" \\\
-DCMAKE_MODULE_LINKER_FLAGS_PLD="${LDFLAGS:-%{rpmldflags}}" \\\
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-macros.git/commitdiff/1271c350ff106e4b8ad64c122e92398c1465c3b8
More information about the pld-cvs-commit
mailing list