Commit b24ead4b authored by sicherha's avatar sicherha Committed by Vitaly Takmazov

Build packages with optimisations enabled

parent cfae20cc
......@@ -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
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment