1
0

Accepting request 900740 from Java:Factory

Add aarch64 to build architectures + allow DWARF5 symbols

OBS-URL: https://build.opensuse.org/request/show/900740
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/java-1_8_0-openj9?expand=0&rev=10
This commit is contained in:
Dominique Leuenberger 2021-06-19 21:03:17 +00:00 committed by Git OBS Bridge
commit d0bd9d187c
2 changed files with 12 additions and 8 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Jun 18 10:15:55 UTC 2021 - Fridrich Strba <fstrba@suse.com>
- Remove the forcing of DWARF version 4, since the libdwarf in
factory works correctly with this build and DWARF5 symbol format
- Expand supported architectures to aarch64
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jun 10 16:24:28 UTC 2021 - Fridrich Strba <fstrba@suse.com> Thu Jun 10 16:24:28 UTC 2021 - Fridrich Strba <fstrba@suse.com>

View File

@ -16,6 +16,7 @@
# #
%{!?aarch64:%global aarch64 aarch64 arm64 armv8}
%global debug 0 %global debug 0
%global bootcycle 1 %global bootcycle 1
# Convert an absolute path to a relative path. Each symbolic link is # Convert an absolute path to a relative path. Each symbolic link is
@ -73,6 +74,9 @@
%ifarch s390x %ifarch s390x
%global archinstall s390x %global archinstall s390x
%endif %endif
%ifarch %{aarch64}
%global archinstall aarch64
%endif
%if %{debug} %if %{debug}
%global debugbuild slowdebug %global debugbuild slowdebug
%else %else
@ -205,7 +209,7 @@ Provides: jre1.5.x
Provides: jre1.6.x Provides: jre1.6.x
Provides: jre1.7.x Provides: jre1.7.x
Provides: jre1.8.x Provides: jre1.8.x
ExclusiveArch: x86_64 ppc64le s390x ExclusiveArch: x86_64 ppc64le s390x aarch64
%if %{bootcycle} %if %{bootcycle}
BuildRequires: java-devel >= 1.7 BuildRequires: java-devel >= 1.7
BuildConflicts: java >= 9 BuildConflicts: java >= 9
@ -409,13 +413,6 @@ EXTRA_CPP_FLAGS="-Wno-error -Wno-maybe-uninitialized -std=gnu++98 -fno-delete-nu
EXTRA_CFLAGS="$EXTRA_CFLAGS -fno-strict-aliasing" EXTRA_CFLAGS="$EXTRA_CFLAGS -fno-strict-aliasing"
%endif %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 \ bash configure \
--disable-zip-debug-info \ --disable-zip-debug-info \
--with-milestone="fcs" \ --with-milestone="fcs" \