Make use of --with-extra-asflags introduced in jdk-11.0.6+1.
This commit is contained in:
parent
25107c4c5c
commit
4ba475024b
@ -226,7 +226,7 @@
|
|||||||
%global top_level_dir_name %{origin}
|
%global top_level_dir_name %{origin}
|
||||||
%global minorver 0
|
%global minorver 0
|
||||||
%global buildver 10
|
%global buildver 10
|
||||||
%global rpmrelease 0
|
%global rpmrelease 1
|
||||||
#%%global tagsuffix ""
|
#%%global tagsuffix ""
|
||||||
# priority must be 8 digits in total; untill openjdk 1.8 we were using 18..... so when moving to 11 we had to add another digit
|
# priority must be 8 digits in total; untill openjdk 1.8 we were using 18..... so when moving to 11 we had to add another digit
|
||||||
%if %is_system_jdk
|
%if %is_system_jdk
|
||||||
@ -1392,9 +1392,8 @@ EXTRA_CPP_FLAGS="%ourcppflags -std=gnu++98 -fno-delete-null-pointer-checks -fno-
|
|||||||
EXTRA_CFLAGS="$EXTRA_CFLAGS -fno-strict-aliasing"
|
EXTRA_CFLAGS="$EXTRA_CFLAGS -fno-strict-aliasing"
|
||||||
%endif
|
%endif
|
||||||
# Fixes annocheck warnings in assembler files due to missing build notes
|
# Fixes annocheck warnings in assembler files due to missing build notes
|
||||||
EXTRA_CPP_FLAGS="$EXTRA_CPP_FLAGS -Wa,--generate-missing-build-notes=yes"
|
EXTRA_ASFLAGS="${EXTRA_CFLAGS} -Wa,--generate-missing-build-notes=yes"
|
||||||
EXTRA_CFLAGS="$EXTRA_CFLAGS -Wa,--generate-missing-build-notes=yes"
|
export EXTRA_CFLAGS EXTRA_ASFLAGS
|
||||||
export EXTRA_CFLAGS
|
|
||||||
|
|
||||||
for suffix in %{build_loop} ; do
|
for suffix in %{build_loop} ; do
|
||||||
if [ "x$suffix" = "x" ] ; then
|
if [ "x$suffix" = "x" ] ; then
|
||||||
@ -1433,6 +1432,7 @@ bash ../configure \
|
|||||||
--with-stdc++lib=dynamic \
|
--with-stdc++lib=dynamic \
|
||||||
--with-extra-cxxflags="$EXTRA_CPP_FLAGS" \
|
--with-extra-cxxflags="$EXTRA_CPP_FLAGS" \
|
||||||
--with-extra-cflags="$EXTRA_CFLAGS" \
|
--with-extra-cflags="$EXTRA_CFLAGS" \
|
||||||
|
--with-extra-asflags="$EXTRA_ASFLAGS" \
|
||||||
--with-extra-ldflags="%{ourldflags}" \
|
--with-extra-ldflags="%{ourldflags}" \
|
||||||
--with-num-cores="$NUM_PROC" \
|
--with-num-cores="$NUM_PROC" \
|
||||||
--disable-javac-server \
|
--disable-javac-server \
|
||||||
@ -1859,6 +1859,9 @@ require "copy_jdk_configs.lua"
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Apr 24 2020 Andrew John Hughes <gnu.andrew@redhat.com> - 1:11.0.7.10-1
|
||||||
|
- Make use of --with-extra-asflags introduced in jdk-11.0.6+1.
|
||||||
|
|
||||||
* Wed Apr 22 2020 Andrew John Hughes <gnu.andrew@redhat.com> - 1:11.0.7.10-0
|
* Wed Apr 22 2020 Andrew John Hughes <gnu.andrew@redhat.com> - 1:11.0.7.10-0
|
||||||
- Update to shenandoah-jdk-11.0.7+10 (GA)
|
- Update to shenandoah-jdk-11.0.7+10 (GA)
|
||||||
- Switch to GA mode for final release.
|
- Switch to GA mode for final release.
|
||||||
|
Loading…
Reference in New Issue
Block a user