From 84031cf4e872b52e65e112adb794aa65551904f4 Mon Sep 17 00:00:00 2001 From: caodongxia <315816521@qq.com> Date: Mon, 6 Mar 2023 17:07:58 +0800 Subject: [PATCH] Fix not stripped problem (cherry picked from commit c7dcf0c0b7e5faf66a64db00f1c2f5c9bb2fc241) --- jansi-native.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/jansi-native.spec b/jansi-native.spec index 7fd85a4..258536e 100644 --- a/jansi-native.spec +++ b/jansi-native.spec @@ -3,7 +3,7 @@ Name: jansi-native Version: 1.7 -Release: 7 +Release: 8 Summary: Jansi Native implements the JNI Libraries used by the Jansi project License: ASL 2.0 URL: http://jansi.fusesource.org/ @@ -27,6 +27,7 @@ escape sequences to format your console output which works even on windows. %mvn_package :::linux%{bits}: %mvn_alias :jansi-linux%{bits} :jansi-linux %mvn_file :jansi-linux%{bits} %{name}/jansi-linux%{bits} %{name}/jansi-linux +sed -i '36c CFLAGS="$CFLAGS -fstack-protector -Wl,-s"' src/main/native-package/m4/custom.m4 %build %mvn_build @@ -45,6 +46,9 @@ escape sequences to format your console output which works even on windows. %{_datadir}/maven-metadata/* %changelog +* Mon Mar 6 2023 caodongxia - 1.7-8 +- Fix not stripped problem + * Mon Sep 14 2020 maminjie - 1.7-7 - Add jansi-linux jar packages