diff --git a/java-11-openjdk.spec b/java-11-openjdk.spec index f006ca1..779202a 100644 --- a/java-11-openjdk.spec +++ b/java-11-openjdk.spec @@ -226,7 +226,7 @@ %global top_level_dir_name %{origin} %global minorver 0 %global buildver 10 -%global rpmrelease 0 +%global rpmrelease 1 #%%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 %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" %endif # Fixes annocheck warnings in assembler files due to missing build notes -EXTRA_CPP_FLAGS="$EXTRA_CPP_FLAGS -Wa,--generate-missing-build-notes=yes" -EXTRA_CFLAGS="$EXTRA_CFLAGS -Wa,--generate-missing-build-notes=yes" -export EXTRA_CFLAGS +EXTRA_ASFLAGS="${EXTRA_CFLAGS} -Wa,--generate-missing-build-notes=yes" +export EXTRA_CFLAGS EXTRA_ASFLAGS for suffix in %{build_loop} ; do if [ "x$suffix" = "x" ] ; then @@ -1433,6 +1432,7 @@ bash ../configure \ --with-stdc++lib=dynamic \ --with-extra-cxxflags="$EXTRA_CPP_FLAGS" \ --with-extra-cflags="$EXTRA_CFLAGS" \ + --with-extra-asflags="$EXTRA_ASFLAGS" \ --with-extra-ldflags="%{ourldflags}" \ --with-num-cores="$NUM_PROC" \ --disable-javac-server \ @@ -1859,6 +1859,9 @@ require "copy_jdk_configs.lua" %changelog +* Fri Apr 24 2020 Andrew John Hughes - 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 - 1:11.0.7.10-0 - Update to shenandoah-jdk-11.0.7+10 (GA) - Switch to GA mode for final release.