Toomas Soome
2020-04-22 6afd7702cf52e20040fc562d839734ac9b959518
python27: fix sparc build
2 files modified
5 ■■■■■ changed files
components/python/python27/Makefile 1 ●●●● patch | view | raw | blame | history
components/python/python27/patches/05-dtrace.patch 4 ●●●● patch | view | raw | blame | history
components/python/python27/Makefile
@@ -27,6 +27,7 @@
COMPONENT_NAME=        Python
COMPONENT_VERSION=    2.7.18
COMPONENT_REVISION=    1
COMPONENT_PROJECT_URL=    https://python.org
COMPONENT_SRC=        $(COMPONENT_NAME)-$(COMPONENT_VERSION)
COMPONENT_ARCHIVE=    $(COMPONENT_SRC).tar.xz
components/python/python27/patches/05-dtrace.patch
@@ -96,7 +96,7 @@
+     * Disable the tail call here.
+     */
+#if defined(__sparc)
+    asm("nop");
+    __asm__("nop");
+#endif
+}
+
@@ -117,7 +117,7 @@
+     * Disable the tail call here.
+     */
+#if defined(__sparc)
+    asm("nop");
+    __asm__("nop");
+#endif
+}
+#else