summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-03-01 13:03:27 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-03-01 13:06:18 +0100
commitbec21dcfa7042d1f7065cf467c4f9c777f0fd072 (patch)
treef4cfe7a236db827542c90d9562b9c79ca038510e /package
parentf718877477bdaf4d618dd9cceff6faa7e6ef762b (diff)
python, python3: fix unicodedata enabling
A confusion was made when applying commit c3d539b53ff0533e91ae849dbdcdd589b0fec0cc ('host python/python3: conditionally disable unicodedata') and then commit 73293e88c828c9bddc0b684a4603f86f70f8e876 ('python, python3: enable unicodedata for host-python, needed by setuptools'). The first commit added the enabling of unicodedata in the host Python when the target Python is configured with unicodedata, which is necessary because building the target unicodedata Python module requires having unicodedata support in the host Python. The second commit enabled the unicodedata unconditionally in the host Python, because it is needed by host-setuptools. However, when the second commit was applied, the logic that consisted in disabling unicodedate in the host Python when not needed was kept, which resulted in breaking the build of host-setuptools due to the lack of unicodedata support in the host python. This commit fixes that by only leaving the unconditional --enable-unicodedata in the host Python configuration options, and therefore removing the problematic conditional --disable-unicodedata. Fixes: http://autobuild.buildroot.org/results/b62/b622fc14776f5a6c26ff0d1fb882f4ae6cccc5d8/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package')
-rw-r--r--package/python/python.mk1
-rw-r--r--package/python3/python3.mk1
2 files changed, 0 insertions, 2 deletions
diff --git a/package/python/python.mk b/package/python/python.mk
index e177ef752..94765cbb8 100644
--- a/package/python/python.mk
+++ b/package/python/python.mk
@@ -89,7 +89,6 @@ endif
ifneq ($(BR2_PACKAGE_PYTHON_UNICODEDATA),y)
PYTHON_CONF_OPT += --disable-unicodedata
-HOST_PYTHON_CONF_OPT += --disable-unicodedata
endif
# Default is UCS2 w/o a conf opt
diff --git a/package/python3/python3.mk b/package/python3/python3.mk
index 24e90d68e..880b66e3c 100644
--- a/package/python3/python3.mk
+++ b/package/python3/python3.mk
@@ -77,7 +77,6 @@ endif
ifneq ($(BR2_PACKAGE_PYTHON3_UNICODEDATA),y)
PYTHON3_CONF_OPT += --disable-unicodedata
-HOST_PYTHON3_CONF_OPT += --disable-unicodedata
endif
ifeq ($(BR2_PACKAGE_PYTHON3_BZIP2),y)