* [Buildroot] [PATCH 2/2] Fix regression in Python build on 64 bits system.
@ 2011-08-29 15:56 Maxime Ripard
2011-08-29 20:45 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: Maxime Ripard @ 2011-08-29 15:56 UTC (permalink / raw)
To: buildroot
Commit 009d8fceab4db7815502e4b0565fe0ef531d512c introduced
--enable-shared --disable-static options for the host autotools packages,
ultimately causing a regression on the host-python build, leading to
a number of critical modules not being built on the target python on
64 bits system. Introduce a quick fix for the release and before a deeper
fix.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
package/python/python.mk | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/package/python/python.mk b/package/python/python.mk
index c2839b7..724fd1a 100644
--- a/package/python/python.mk
+++ b/package/python/python.mk
@@ -37,6 +37,19 @@ HOST_PYTHON_MAKE_ENV = \
HOST_PYTHON_AUTORECONF = YES
+define HOST_PYTHON_CONFIGURE_CMDS
+ (cd $(@D) && rm -rf config.cache; \
+ $(HOST_CONFIGURE_OPTS) \
+ CFLAGS="$(HOST_CFLAGS)" \
+ LDFLAGS="$(HOST_LDFLAGS)" \
+ $(HOST_PYTHON_CONF_ENV) \
+ ./configure \
+ --prefix="$(HOST_DIR)/usr" \
+ --sysconfdir="$(HOST_DIR)/etc" \
+ $(HOST_PYTHON_CONF_OPT) \
+ )
+endef
+
PYTHON_DEPENDENCIES = host-python libffi
HOST_PYTHON_DEPENDENCIES = host-expat
--
1.7.4.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH 2/2] Fix regression in Python build on 64 bits system.
2011-08-29 15:56 [Buildroot] [PATCH 2/2] Fix regression in Python build on 64 bits system Maxime Ripard
@ 2011-08-29 20:45 ` Peter Korsgaard
0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2011-08-29 20:45 UTC (permalink / raw)
To: buildroot
>>>>> "Maxime" == Maxime Ripard <maxime.ripard@free-electrons.com> writes:
Maxime> Commit 009d8fceab4db7815502e4b0565fe0ef531d512c introduced
Maxime> --enable-shared --disable-static options for the host autotools
Maxime> packages, ultimately causing a regression on the host-python
Maxime> build, leading to a number of critical modules not being built
Maxime> on the target python on 64 bits system. Introduce a quick fix
Maxime> for the release and before a deeper fix.
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-08-29 20:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-29 15:56 [Buildroot] [PATCH 2/2] Fix regression in Python build on 64 bits system Maxime Ripard
2011-08-29 20:45 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.