From 8ba07d649910dd2a5f149ab89d1e5ce485ba8aa5 Mon Sep 17 00:00:00 2001 From: Irina Boverman Date: Thu, 8 Mar 2018 11:54:04 -0500 Subject: [PATCH] 0.21.0-1 --- qpid-proton.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qpid-proton.spec b/qpid-proton.spec index 2f833d5..a82cfa1 100644 --- a/qpid-proton.spec +++ b/qpid-proton.spec @@ -298,11 +298,13 @@ Requires: qpid-proton-c = %{version}-%{release} %build %if 0%{?fedora} +export ADDCXXFLAGS=" -Wno-error=format-security" %cmake \ -DSYSINSTALL_PYTHON=1 \ -DSYSINSTALL_PERL=1 \ -DSYSINSTALL_BINDINGS=ON \ -DCMAKE_SKIP_RPATH:BOOL=OFF \ + "-DCMAKE_CXX_FLAGS=$CXXFLAGS $ADDCXXFLAGS" \ . %endif %if 0%{?rhel} && 0%{?rhel} <= 7