From: Alexandru Ardelean Date: Fri, 27 Mar 2015 14:42:33 +0000 (+0200) Subject: python3: override machine definition for i386 to build the decimal module X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=96d4953662826ee798d72494aa79df8f63c35e76;p=openwrt-packages.git python3: override machine definition for i386 to build the decimal module Signed-off-by: Alexandru Ardelean --- diff --git a/lang/python3/Makefile b/lang/python3/Makefile index 1cd18750d..b9d29aab2 100644 --- 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+= \