From 2773bc60a5632a0bc674636cbf6252e9f9c8a377 Mon Sep 17 00:00:00 2001 From: zhuofeng Date: Fri, 2 Dec 2022 11:18:34 +0800 Subject: [PATCH] add compile option -funsigned-char (cherry picked from commit 657015b2a005d24735fe5d6d0efef03c8e08bd53) --- python3.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/python3.spec b/python3.spec index 8d5111a..7229169 100644 --- a/python3.spec +++ b/python3.spec @@ -3,7 +3,7 @@ Summary: Interpreter of the Python3 programming language URL: https://www.python.org/ Version: 3.9.9 -Release: 20 +Release: 21 License: Python-2.0 %global branchversion 3.9 @@ -236,6 +236,10 @@ export CFLAGS="$CFLAGS $(pkg-config --cflags openssl)" export LDFLAGS="%{extension_ldflags} -g $(pkg-config --libs-only-L openssl)" export LDFLAGS_NODIST="%{build_ldflags} -g $(pkg-config --libs-only-L openssl)" +%ifarch %{arm} aarch64 +export CFLAGS="$CFLAGS -funsigned-char" +%endif + DebugBuildDir=build/debug mkdir -p ${DebugBuildDir} pushd ${DebugBuildDir} @@ -825,6 +829,12 @@ export BEP_GTDLIST="$BEP_GTDLIST_TMP" %{_mandir}/*/* %changelog +* Fri Dec 02 zhuofeng - 3.9.9-21 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:add compile option -funsigned-char + * Thu Nov 10 2022 huajingyun - 3.9.9-20 - Type:bugfix - CVE:NA -- Gitee