fix mini-bump
This commit is contained in:
parent
6da5b12afc
commit
1cbb22f120
13
gdb.spec
13
gdb.spec
@ -269,7 +269,7 @@ BuildRequires: libipt-devel%{buildisa}
|
|||||||
BuildRequires: mpfr-devel%{buildisa}
|
BuildRequires: mpfr-devel%{buildisa}
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: source-highlight-devel
|
BuildRequires: source-highlight-devel
|
||||||
%if 0%{!?rhel:1} || 0%{?rhel} > 8
|
%if 0%{!?rhel:1}
|
||||||
BuildRequires: xxhash-devel
|
BuildRequires: xxhash-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: elfutils-debuginfod-client-devel
|
BuildRequires: elfutils-debuginfod-client-devel
|
||||||
@ -386,6 +386,7 @@ BuildRequires: rust
|
|||||||
|
|
||||||
BuildRequires: %{?scl_prefix}elfutils-debuginfod
|
BuildRequires: %{?scl_prefix}elfutils-debuginfod
|
||||||
%endif # 0%{?_with_testsuite:1}
|
%endif # 0%{?_with_testsuite:1}
|
||||||
|
BuildRequires: make
|
||||||
|
|
||||||
%{?scl:Requires:%scl_runtime}
|
%{?scl:Requires:%scl_runtime}
|
||||||
|
|
||||||
@ -617,6 +618,10 @@ GDB_MINIMAL_CONFIGURE_FLAGS="\
|
|||||||
export CFLAGS="$RPM_OPT_FLAGS %{?_with_asan:-fsanitize=address}"
|
export CFLAGS="$RPM_OPT_FLAGS %{?_with_asan:-fsanitize=address}"
|
||||||
export LDFLAGS="%{?__global_ldflags} %{?_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"
|
export CXXFLAGS="$CFLAGS"
|
||||||
|
|
||||||
# --htmldir and --pdfdir are not used as they are used from %{gdb_build}.
|
# --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 CFLAGS="$RPM_OPT_FLAGS %{?_with_asan:-fsanitize=address}"
|
||||||
export LDFLAGS="%{?__global_ldflags} %{?_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
|
%if 0%{!?rhel:1} || 0%{?rhel} > 7
|
||||||
CFLAGS="$CFLAGS -DDNF_DEBUGINFO_INSTALL"
|
CFLAGS="$CFLAGS -DDNF_DEBUGINFO_INSTALL"
|
||||||
%endif
|
%endif
|
||||||
@ -730,7 +739,7 @@ $(: ppc64 host build crashes on ppc variant of libexpat.so ) \
|
|||||||
%else
|
%else
|
||||||
--without-intel-pt \
|
--without-intel-pt \
|
||||||
%endif
|
%endif
|
||||||
%if 0%{!?rhel:1} || 0%{?rhel} > 8
|
%if 0%{!?rhel:1}
|
||||||
--with-xxhash \
|
--with-xxhash \
|
||||||
%endif
|
%endif
|
||||||
--with-rpm=librpm.so.%{librpmver} \
|
--with-rpm=librpm.so.%{librpmver} \
|
||||||
|
Loading…
Reference in New Issue
Block a user