forked from pool/java-1_8_0-openj9
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:
commit
d0bd9d187c
@ -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>
|
||||
|
||||
|
@ -16,6 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%{!?aarch64:%global aarch64 aarch64 arm64 armv8}
|
||||
%global debug 0
|
||||
%global bootcycle 1
|
||||
# Convert an absolute path to a relative path. Each symbolic link is
|
||||
@ -73,6 +74,9 @@
|
||||
%ifarch s390x
|
||||
%global archinstall s390x
|
||||
%endif
|
||||
%ifarch %{aarch64}
|
||||
%global archinstall aarch64
|
||||
%endif
|
||||
%if %{debug}
|
||||
%global debugbuild slowdebug
|
||||
%else
|
||||
@ -205,7 +209,7 @@ Provides: jre1.5.x
|
||||
Provides: jre1.6.x
|
||||
Provides: jre1.7.x
|
||||
Provides: jre1.8.x
|
||||
ExclusiveArch: x86_64 ppc64le s390x
|
||||
ExclusiveArch: x86_64 ppc64le s390x aarch64
|
||||
%if %{bootcycle}
|
||||
BuildRequires: java-devel >= 1.7
|
||||
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"
|
||||
%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" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user