mirror of
https://github.com/openwrt/packages.git
synced 2025-12-20 01:21:21 +00:00
python3: Remove --without-pymalloc
--without-pymalloc was added in7bf1ae65a8because leaving it enabled added an "m" flag/suffix to file names. This flag/suffix was removed in Python 3.8[1], so disabling pymalloc is no longer necessary. [1]: https://docs.python.org/3.8/whatsnew/3.8.html#build-and-c-api-changes Signed-off-by: Jeffery To <jeffery.to@gmail.com> (cherry picked from commit3032e7063f)
This commit is contained in:
@@ -11,7 +11,7 @@ include $(TOPDIR)/rules.mk
|
||||
include ../python3-version.mk
|
||||
|
||||
PKG_NAME:=python3
|
||||
PKG_RELEASE:=4
|
||||
PKG_RELEASE:=5
|
||||
PKG_VERSION:=$(PYTHON3_VERSION).$(PYTHON3_VERSION_MICRO)
|
||||
|
||||
PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz
|
||||
@@ -160,7 +160,6 @@ CONFIGURE_ARGS+= \
|
||||
--with-system-ffi \
|
||||
--without-cxx-main \
|
||||
--without-ensurepip \
|
||||
--without-pymalloc \
|
||||
--disable-test-modules \
|
||||
$(if $(CONFIG_IPV6),--enable-ipv6) \
|
||||
$(if $(findstring mips,$(CONFIG_ARCH)),,--with-lto) \
|
||||
@@ -335,7 +334,6 @@ HOST_CONFIGURE_ARGS+= \
|
||||
--with-system-expat=$(STAGING_DIR_HOST) \
|
||||
--with-ssl-default-suites=openssl \
|
||||
--without-cxx-main \
|
||||
--without-pymalloc \
|
||||
--disable-test-modules \
|
||||
CONFIG_SITE=
|
||||
|
||||
|
||||
Reference in New Issue
Block a user