summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-11-13 06:43:39 +0100
committerFlorent Le Coz <louiz@louiz.org>2014-11-13 06:46:08 +0100
commit0de421fad825494a977eb50d561eac92244cd42b (patch)
treea6f9b0c939f800ca73b54cadd173b0ebe97cbdc6
parent3736cc1f4c23ac4ae29bb505498f174ae6ea73e1 (diff)
downloadbiboumi-0de421fad825494a977eb50d561eac92244cd42b.tar.gz
biboumi-0de421fad825494a977eb50d561eac92244cd42b.tar.bz2
biboumi-0de421fad825494a977eb50d561eac92244cd42b.tar.xz
biboumi-0de421fad825494a977eb50d561eac92244cd42b.zip
Build with the fedora CFLAGS in the .spec
-rw-r--r--packaging/biboumi.spec14
1 files changed, 8 insertions, 6 deletions
diff --git a/packaging/biboumi.spec b/packaging/biboumi.spec
index 490aa42..0cd1435 100644
--- a/packaging/biboumi.spec
+++ b/packaging/biboumi.spec
@@ -29,12 +29,13 @@ these channels were XMPP MUCs.
%build
-cmake . -DCMAKE_BUILD_TYPE=release \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DPOLLER=EPOLL \
- -DWITHOUT_BOTAN=1 \
- -DWITH_SYSTEMD=1 \
- -DWITH_LIBIDN=1
+cmake . -DCMAKE_CXX_FLAGS="%{optflags}" \
+ -DCMAKE_BUILD_TYPE=release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DPOLLER=EPOLL \
+ -DWITHOUT_BOTAN=1 \
+ -DWITH_SYSTEMD=1 \
+ -DWITH_LIBIDN=1
make %{?_smp_mflags}
@@ -72,6 +73,7 @@ make test_suite/fast VERBOSE=1
%changelog
* Wed Nov 13 2014 Le Coz Florent <louiz@louiz.org> - 1.1-2
- Use the -DWITH(OUT) cmake flags for all optional dependencies
+- Build with the correct optflags
* Wed Aug 18 2014 Le Coz Florent <louiz@louiz.org> - 1.1-1
- Update to 1.1 release