|
|
@ -268,13 +268,14 @@ Requires: qpid-proton-c = %{version}-%{release}
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora}
|
|
|
|
%if 0%{?fedora}
|
|
|
|
export ADDCXXFLAGS=" -Wno-error=format-security -Wno-error=catch-value="
|
|
|
|
export ADDCXXFLAGS=" -Wno-error=return-type"
|
|
|
|
%cmake \
|
|
|
|
%cmake \
|
|
|
|
-DSYSINSTALL_PYTHON=1 \
|
|
|
|
-DSYSINSTALL_PYTHON=1 \
|
|
|
|
-DSYSINSTALL_PERL=1 \
|
|
|
|
-DSYSINSTALL_PERL=1 \
|
|
|
|
-DSYSINSTALL_BINDINGS=ON \
|
|
|
|
-DSYSINSTALL_BINDINGS=ON \
|
|
|
|
-DCMAKE_SKIP_RPATH:BOOL=OFF \
|
|
|
|
-DCMAKE_SKIP_RPATH:BOOL=OFF \
|
|
|
|
-DENABLE_FUZZ_TESTING=NO \
|
|
|
|
-DENABLE_FUZZ_TESTING=NO \
|
|
|
|
|
|
|
|
"-DCMAKE_CXX_FLAGS=$CXXFLAGS $ADDCXXFLAGS" \
|
|
|
|
.
|
|
|
|
.
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%if 0%{?rhel} && 0%{?rhel} <= 7
|
|
|
|
%if 0%{?rhel} && 0%{?rhel} <= 7
|
|
|
|