commit 1d05ddb29734e4f96718aa6a4037ecc2bdfcc3f6
parent a7ec4ae13cd66ab28d33e3c45e9d2553a58006fd
Author: Steven Barth <steven@midlink.org>
Date: Sat, 28 Mar 2015 08:46:29 +0100
Merge pull request #1078 from commodo/python3-x86-decimal-fix
python3: override machine definition for i386 to build the decimal module
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/lang/python3/Makefile b/lang/python3/Makefile
@@ -111,6 +111,10 @@ MAKE_FLAGS+=\
LD="$(TARGET_CC)" \
PGEN=pgen3
+ifeq ($(ARCH),i386)
+MAKE_FLAGS+=PYTHON_DECIMAL_WITH_MACHINE=ansi32
+endif
+
EXTRA_CFLAGS+= \
-DNDEBUG -fno-inline
EXTRA_LDFLAGS+= \