diff --git a/python3.spec b/python3.spec index 8d5111abe95fa4c6b28a00ef0117064dce10d206..72291693f4a30f4f164bb14bd7462498423a6759 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