summaryrefslogtreecommitdiff
path: root/project/pycompile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'project/pycompile.mk')
-rw-r--r--project/pycompile.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/project/pycompile.mk b/project/pycompile.mk
index a432f85..8cf2ac4 100644
--- a/project/pycompile.mk
+++ b/project/pycompile.mk
@@ -86,6 +86,8 @@ $(PYCOMPILE_DIR)/core/%.o: $(SOURCE_DIR)/%.c $(ALL_HEADERS) $(PYCOMPILE_TAGS)
$(PYCOMPILE_DIR)/pyext/obj/%.o: $(SOURCE_DIR)/Modules/%.c $(ALL_HEADERS) $(PYCOMPILE_TAGS)
$(NATIVE_CC) -c -o $@ $< $(PYCOMPILE_CFLAGS)
+$(PYCOMPILE_DIR)/pyext/obj/_decimal/%.o: NATIVE_CC_CFLAGS += -DUNIVERSAL
+
PYCOMPILE_PYEXT_SRCS = \
$(PYEXT_DECIMAL_SRCS) \