From 641c4075b8422b22f0b01e275c0af3ebed6aafa5 Mon Sep 17 00:00:00 2001 From: kuenking111 Date: Tue, 21 Dec 2021 22:35:07 +0800 Subject: [PATCH] I4NJX8: delete stack protection --- openjdk-latest.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/openjdk-latest.spec b/openjdk-latest.spec index d35a650..c84af29 100644 --- a/openjdk-latest.spec +++ b/openjdk-latest.spec @@ -171,7 +171,7 @@ %global top_level_dir_name %{origin} %global minorver 0 %global buildver 12 -%global rpmrelease 1 +%global rpmrelease 2 # priority must be 8 digits in total; up to openjdk 1.8, we were using 18..... so when we moved to 11, we had to add another digit %if %is_system_jdk %global priority %( printf '%02d%02d%02d%02d' %{majorver} %{minorver} %{securityver} %{buildver} ) @@ -1256,8 +1256,8 @@ export CFLAGS="$CFLAGS -mieee" # We use ourcppflags because the OpenJDK build seems to # pass EXTRA_CFLAGS to the HotSpot C++ compiler... # Explicitly set the C++ standard as the default has changed on GCC >= 6 -EXTRA_CFLAGS="%ourcppflags -fstack-protector-all" -EXTRA_CPP_FLAGS="%ourcppflags -fstack-protector-all" +EXTRA_CFLAGS="%ourcppflags" +EXTRA_CPP_FLAGS="%ourcppflags" %ifarch %{power64} ppc # fix rpmlint warnings @@ -1732,6 +1732,9 @@ require "copy_jdk_configs.lua" %changelog +* Tue Dec 21 2021 kuenking111 - 1:17.0.1.12-2-rolling +- delete stack protection + * Mon Dec 6 2021 noah - 1:17.0.1.12-1-rolling - add Stack protection -- Gitee