summaryrefslogtreecommitdiff
path: root/project/pycompile.mk
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-22 17:16:47 -0500
committermidipix <writeonce@midipix.org>2018-12-22 19:14:26 -0500
commita4a46b7e65bcc92f177e5fcb5970655fbe5e95de (patch)
tree3b562cd7079633157f6d5d70585e504e7c8dc8d7 /project/pycompile.mk
parentad39fbf857b0951300dc23f59eaae3656db37661 (diff)
downloadsbpython3-a4a46b7e65bcc92f177e5fcb5970655fbe5e95de.tar.bz2
sbpython3-a4a46b7e65bcc92f177e5fcb5970655fbe5e95de.tar.xz
project: extensions: _decimal: take the -DUNIVERSAL code path.
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) \