|
|
@ -116,10 +116,13 @@ cp -vp misc/vim/README.md README-vim.md
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
AR='gcc-ar'; export AR
|
|
|
|
AR='gcc-ar'; export AR
|
|
|
|
%set_build_flags
|
|
|
|
%set_build_flags
|
|
|
|
|
|
|
|
# Treating warnings as errors is too strict for downstream builds.
|
|
|
|
|
|
|
|
#
|
|
|
|
# Both --use-icf and --use-lto add compiler flags that only work with clang++,
|
|
|
|
# Both --use-icf and --use-lto add compiler flags that only work with clang++,
|
|
|
|
# not with g++. We do get LTO on Fedora anyway, since we respect the
|
|
|
|
# not with g++. We do get LTO on Fedora anyway, since we respect the
|
|
|
|
# distribution’s build flags.
|
|
|
|
# distribution’s build flags.
|
|
|
|
%{python3} build/gen.py \
|
|
|
|
%{python3} build/gen.py \
|
|
|
|
|
|
|
|
--allow-warnings \
|
|
|
|
--no-last-commit-position \
|
|
|
|
--no-last-commit-position \
|
|
|
|
--no-strip \
|
|
|
|
--no-strip \
|
|
|
|
--no-static-libstdc++
|
|
|
|
--no-static-libstdc++
|
|
|
|