Commit d5020d64 authored by Michał Kępień's avatar Michał Kępień
Browse files

Work around an LTO-related build issue

parent df3849c9
......@@ -15,7 +15,7 @@
Name: %{?scl_prefix}protobuf-c
Version: 1.4.1
Release: 3%{?dist}
Release: 4%{?dist}
Summary: C bindings for Google's Protocol Buffers
License: BSD
......@@ -65,6 +65,9 @@ This package contains protobuf-c headers and libraries.
%if 0%{?rhel} && 0%{?rhel} < 8
scl enable devtoolset-8 -- <<\EOF
export CXXFLAGS="${CXXFLAGS} -std=c++17"
%configure --disable-static
%{?scl:scl enable %scl -- }%make_build
%if 0%{?rhel} && 0%{?rhel} < 8
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment