Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Packages
rpms
protobuf-c
Commits
d5020d64
Commit
d5020d64
authored
Oct 03, 2022
by
Michał Kępień
Browse files
Work around an LTO-related build issue
parent
df3849c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
protobuf-c.spec
View file @
d5020d64
...
...
@@ -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
%endif
# https://github.com/protobuf-c/protobuf-c/issues/483
%set_build_flags
export CXXFLAGS="${CXXFLAGS} -std=c++17"
%configure --disable-static
%{?scl:scl enable %scl -- }%make_build
%if 0%{?rhel} && 0%{?rhel} < 8
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment