1
0
Fridrich Strba 2021-06-15 12:57:23 +00:00 committed by Git OBS Bridge
parent 8a4a163c50
commit 4ed53a45cf

View File

@ -210,6 +210,9 @@ Provides: jre1.6.x
Provides: jre1.7.x
Provides: jre1.8.x
ExclusiveArch: x86_64 ppc64le s390x aarch64
%if %{?pkg_vcmp:%pkg_vcmp gcc-c++ >= 11}%{!?pkg_vcmp:0}
BuildRequires: libdwarf-devel >= 20210528
%endif
%if %{bootcycle}
BuildRequires: java-devel >= 1.7
BuildConflicts: java >= 9
@ -413,13 +416,6 @@ EXTRA_CPP_FLAGS="-Wno-error -Wno-maybe-uninitialized -std=gnu++98 -fno-delete-nu
EXTRA_CFLAGS="$EXTRA_CFLAGS -fno-strict-aliasing"
%endif
%if %{?pkg_vcmp:%pkg_vcmp gcc-c++ >= 11}%{!?pkg_vcmp:0}
EXTRA_CPP_FLAGS="$EXTRA_CPP_FLAGS -g -gdwarf-4"
EXTRA_CFLAGS="$EXTRA_CFLAGS -g -gdwarf-4"
export CXXFLAGS="$EXTRA_CPP_FLAGS"
export CFLAGS="$EXTRA_CFLAGS"
%endif
bash configure \
--disable-zip-debug-info \
--with-milestone="fcs" \