mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 23:12:02 +08:00
python3: add no-mips16 to PKG_BUILD_FLAGS
Should fix Python3 build for mipsel_24kc_24kf. Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
This commit is contained in:
committed by
Alexandru Ardelean
parent
969f180157
commit
6a9044400d
@@ -11,7 +11,7 @@ include $(TOPDIR)/rules.mk
|
||||
include ../python3-version.mk
|
||||
|
||||
PKG_NAME:=python3
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
PKG_VERSION:=$(PYTHON3_VERSION).$(PYTHON3_VERSION_MICRO)
|
||||
|
||||
PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz
|
||||
@@ -35,7 +35,7 @@ PKG_BUILD_PARALLEL:=1
|
||||
HOST_BUILD_PARALLEL:=1
|
||||
# LTO is handled here individually, see --with-lto below
|
||||
# "no-lto" prevents CONFIG_USE_LTO to add additional and interfering flags
|
||||
PKG_BUILD_FLAGS:=no-lto
|
||||
PKG_BUILD_FLAGS:=no-mips16 no-lto
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/Python-$(PKG_VERSION)
|
||||
HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/Python-$(PKG_VERSION)
|
||||
|
||||
Reference in New Issue
Block a user