diff --git a/packaging/debian/debian/rules b/packaging/debian/debian/rules index 17dfa5be8559f5222d26a5585721d6801589b3ad..235af71f931cbce3ee452fe69e9902ef60dfe57c 100755 --- a/packaging/debian/debian/rules +++ b/packaging/debian/debian/rules @@ -8,7 +8,7 @@ DEB_UPSTREAM_VERSION = $(shell dpkg-parsechangelog -ldebian/changelog \ build: dh_testdir - cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/usr -DSPECTRUM_VERSION=${DEB_UPSTREAM_VERSION} . + cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/usr -DSPECTRUM_VERSION=${DEB_UPSTREAM_VERSION} . export VERBOSE=1 VERBOSE=1 make VERBOSE=1 diff --git a/packaging/fedora/spectrum2.spec b/packaging/fedora/spectrum2.spec index fe8b14de8677c4db68abc4266ab7767e63822a51..883bfa38d6d561ee9c147c7f6fdfb442311036d6 100644 --- a/packaging/fedora/spectrum2.spec +++ b/packaging/fedora/spectrum2.spec @@ -36,7 +36,7 @@ Spectrum 2 is an XMPP transport/gateway and also simple XMPP server. %setup -q -n spectrum2 %build -%cmake . -DCMAKE_BUILD_TYPE=Debug +%cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo make VERBOSE=1 %{?_smp_mflags} %install