From: DongHun Kwak Date: Mon, 28 Dec 2020 07:15:14 +0000 (+0900) Subject: Fix py3_abiflags macro error X-Git-Tag: submit/tizen_base/20201230.222049^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ecacf71fd4b5102bc7863346638e6526e090c775;p=platform%2Fupstream%2Fpython3.git Fix py3_abiflags macro error error: Macro %py3_abiflags has empty body Change-Id: I5939c59dc36248ce0cce068c5dad1701ecf710bc --- diff --git a/configure.ac b/configure.ac index c968d149..789df36e 100644 --- a/configure.ac +++ b/configure.ac @@ -3548,6 +3548,7 @@ if test "$with_pymalloc" != "no" then AC_DEFINE(WITH_PYMALLOC, 1, [Define if you want to compile in Python-specific mallocs]) + ABIFLAGS="${ABIFLAGS}m" fi AC_MSG_RESULT($with_pymalloc) diff --git a/packaging/python3-base.spec b/packaging/python3-base.spec index 243d9164..9dc739b9 100644 --- a/packaging/python3-base.spec +++ b/packaging/python3-base.spec @@ -34,7 +34,7 @@ %define sitedir %{_libdir}/python%{python_version} # three possible ABI kinds: m - pymalloc, d - debug build; see PEP 3149 -%define abi_kind %{nil} +%define abi_kind m # python ABI version - used in some file names %define python_abi %{python_version}%{abi_kind} # soname ABI tag defined in PEP 3149 diff --git a/packaging/python3.spec b/packaging/python3.spec index 1e54dcc1..d22f2258 100644 --- a/packaging/python3.spec +++ b/packaging/python3.spec @@ -33,7 +33,7 @@ %define sitedir %{_libdir}/python%{python_version} # three possible ABI kinds: m - pymalloc, d - debug build; see PEP 3149 -%define abi_kind %{nil} +%define abi_kind m # python ABI version - used in some file names %define python_abi %{python_version}%{abi_kind} # soname ABI tag defined in PEP 3149