summaryrefslogtreecommitdiff
path: root/project/variants
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-06-19 16:52:38 +0000
committermidipix <writeonce@midipix.org>2021-06-19 16:52:38 +0000
commit5d8f7ae2d3ea618fe88695572b08a43e8195a920 (patch)
tree9ac40c5c86377245ae3e20ec3a50b048b0dcaf30 /project/variants
parente64c9dfb9a3e3c032b1cb4c011977ecc71452204 (diff)
downloadsbpython3-5d8f7ae2d3ea618fe88695572b08a43e8195a920.tar.bz2
sbpython3-5d8f7ae2d3ea618fe88695572b08a43e8195a920.tar.xz
project: pyext: _decimal extension: added refined host configuration.
Diffstat (limited to 'project/variants')
-rw-r--r--project/variants/3.6.3/pyexts.h2
-rw-r--r--project/variants/3.6.3/pyexts.mk4
-rw-r--r--project/variants/3.7.1/pyexts.h2
-rw-r--r--project/variants/3.7.1/pyexts.mk4
4 files changed, 6 insertions, 6 deletions
diff --git a/project/variants/3.6.3/pyexts.h b/project/variants/3.6.3/pyexts.h
index 0cd5a7e..352bb3d 100644
--- a/project/variants/3.6.3/pyexts.h
+++ b/project/variants/3.6.3/pyexts.h
@@ -124,7 +124,7 @@ static const struct pyext_meta pyexts[] = {
"_curses_panel"),
PYEXT_COMMON("_decimal",
- "-I$(SOURCE_DIR)/Modules/_decimal/libmpdec -DUNIVERSAL",
+ "-I$(SOURCE_DIR)/Modules/_decimal/libmpdec",
0,
"_decimal/_decimal",
"_decimal/libmpdec/basearith",
diff --git a/project/variants/3.6.3/pyexts.mk b/project/variants/3.6.3/pyexts.mk
index 4cc0eab..753ef69 100644
--- a/project/variants/3.6.3/pyexts.mk
+++ b/project/variants/3.6.3/pyexts.mk
@@ -1552,8 +1552,8 @@ PYEXT_DECIMAL_SRCS += pyext/obj/_decimal/libmpdec/transpose.c
PYEXT_DECIMAL_LOBJS = $(PYEXT_DECIMAL_SRCS:.c=.lo)
PYEXT_DECIMAL_OBJS = $(PYEXT_DECIMAL_SRCS:.c=.o)
-$(PYEXT_DECIMAL_LOBJS): CFLAGS_CONFIG += -I$(SOURCE_DIR)/Modules/_decimal/libmpdec -DUNIVERSAL
-$(PYEXT_DECIMAL_OBJS): CFLAGS_CONFIG += -I$(SOURCE_DIR)/Modules/_decimal/libmpdec -DUNIVERSAL
+$(PYEXT_DECIMAL_LOBJS): CFLAGS_CONFIG += -I$(SOURCE_DIR)/Modules/_decimal/libmpdec
+$(PYEXT_DECIMAL_OBJS): CFLAGS_CONFIG += -I$(SOURCE_DIR)/Modules/_decimal/libmpdec
PYEXT_DECIMAL_SHARED = pyext/_decimal$(PYTHON_SOEXT)
PYEXT_DECIMAL_STATIC = pyext/_decimal$(OS_ARCHIVE_EXT)
diff --git a/project/variants/3.7.1/pyexts.h b/project/variants/3.7.1/pyexts.h
index 40b7aa8..c0e6487 100644
--- a/project/variants/3.7.1/pyexts.h
+++ b/project/variants/3.7.1/pyexts.h
@@ -130,7 +130,7 @@ static const struct pyext_meta pyexts[] = {
"_curses_panel"),
PYEXT_COMMON("_decimal",
- "-I$(SOURCE_DIR)/Modules/_decimal/libmpdec -DUNIVERSAL",
+ "-I$(SOURCE_DIR)/Modules/_decimal/libmpdec",
0,
"_decimal/_decimal",
"_decimal/libmpdec/basearith",
diff --git a/project/variants/3.7.1/pyexts.mk b/project/variants/3.7.1/pyexts.mk
index 542473b..2cf217d 100644
--- a/project/variants/3.7.1/pyexts.mk
+++ b/project/variants/3.7.1/pyexts.mk
@@ -1637,8 +1637,8 @@ PYEXT_DECIMAL_SRCS += pyext/obj/_decimal/libmpdec/transpose.c
PYEXT_DECIMAL_LOBJS = $(PYEXT_DECIMAL_SRCS:.c=.lo)
PYEXT_DECIMAL_OBJS = $(PYEXT_DECIMAL_SRCS:.c=.o)
-$(PYEXT_DECIMAL_LOBJS): CFLAGS_CONFIG += -I$(SOURCE_DIR)/Modules/_decimal/libmpdec -DUNIVERSAL
-$(PYEXT_DECIMAL_OBJS): CFLAGS_CONFIG += -I$(SOURCE_DIR)/Modules/_decimal/libmpdec -DUNIVERSAL
+$(PYEXT_DECIMAL_LOBJS): CFLAGS_CONFIG += -I$(SOURCE_DIR)/Modules/_decimal/libmpdec
+$(PYEXT_DECIMAL_OBJS): CFLAGS_CONFIG += -I$(SOURCE_DIR)/Modules/_decimal/libmpdec
PYEXT_DECIMAL_SHARED = pyext/_decimal$(PYTHON_SOEXT)
PYEXT_DECIMAL_STATIC = pyext/_decimal$(OS_ARCHIVE_EXT)