From cde02237320a36beba843284bd370a2cd401c9be Mon Sep 17 00:00:00 2001 From: Irina Boverman Date: Tue, 10 Jul 2018 15:36:26 -0400 Subject: [PATCH] 0.24.0-1 --- qpid-proton.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qpid-proton.spec b/qpid-proton.spec index 84495c0..883f597 100644 --- a/qpid-proton.spec +++ b/qpid-proton.spec @@ -268,13 +268,14 @@ Requires: qpid-proton-c = %{version}-%{release} %build %if 0%{?fedora} -export ADDCXXFLAGS=" -Wno-error=format-security -Wno-error=catch-value=" +export ADDCXXFLAGS=" -Wno-error=return-type" %cmake \ -DSYSINSTALL_PYTHON=1 \ -DSYSINSTALL_PERL=1 \ -DSYSINSTALL_BINDINGS=ON \ -DCMAKE_SKIP_RPATH:BOOL=OFF \ -DENABLE_FUZZ_TESTING=NO \ + "-DCMAKE_CXX_FLAGS=$CXXFLAGS $ADDCXXFLAGS" \ . %endif %if 0%{?rhel} && 0%{?rhel} <= 7