From 0de421fad825494a977eb50d561eac92244cd42b Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Thu, 13 Nov 2014 06:43:39 +0100 Subject: Build with the fedora CFLAGS in the .spec --- packaging/biboumi.spec | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'packaging') 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 - 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 - 1.1-1 - Update to 1.1 release -- cgit v1.2.3