fix mini-bump

This commit is contained in:
Troy Dawson 2021-01-26 11:27:20 -08:00
parent 6da5b12afc
commit 1cbb22f120

View File

@ -269,7 +269,7 @@ BuildRequires: libipt-devel%{buildisa}
BuildRequires: mpfr-devel%{buildisa}
%endif
BuildRequires: source-highlight-devel
%if 0%{!?rhel:1} || 0%{?rhel} > 8
%if 0%{!?rhel:1}
BuildRequires: xxhash-devel
%endif
BuildRequires: elfutils-debuginfod-client-devel
@ -386,6 +386,7 @@ BuildRequires: rust
BuildRequires: %{?scl_prefix}elfutils-debuginfod
%endif # 0%{?_with_testsuite:1}
BuildRequires: make
%{?scl:Requires:%scl_runtime}
@ -617,6 +618,10 @@ GDB_MINIMAL_CONFIGURE_FLAGS="\
export CFLAGS="$RPM_OPT_FLAGS %{?_with_asan:-fsanitize=address}"
export LDFLAGS="%{?__global_ldflags} %{?_with_asan:-fsanitize=address}"
# Workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1912913
# Take this out when fixed in gcc/g++.
CFLAGS="$CFLAGS -Wno-stringop-overread"
export CXXFLAGS="$CFLAGS"
# --htmldir and --pdfdir are not used as they are used from %{gdb_build}.
@ -648,6 +653,10 @@ cd %{gdb_build}$fprofile
export CFLAGS="$RPM_OPT_FLAGS %{?_with_asan:-fsanitize=address}"
export LDFLAGS="%{?__global_ldflags} %{?_with_asan:-fsanitize=address}"
# Workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1912913
# Take this out when fixed in gcc/g++.
CFLAGS="$CFLAGS -Wno-stringop-overread"
%if 0%{!?rhel:1} || 0%{?rhel} > 7
CFLAGS="$CFLAGS -DDNF_DEBUGINFO_INSTALL"
%endif
@ -730,7 +739,7 @@ $(: ppc64 host build crashes on ppc variant of libexpat.so ) \
%else
--without-intel-pt \
%endif
%if 0%{!?rhel:1} || 0%{?rhel} > 8
%if 0%{!?rhel:1}
--with-xxhash \
%endif
--with-rpm=librpm.so.%{librpmver} \