summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/makefiles/Makefile.alpha5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/makefiles/Makefile.alpha b/src/makefiles/Makefile.alpha
index a9e8e948ec6..6fb505e32eb 100644
--- a/src/makefiles/Makefile.alpha
+++ b/src/makefiles/Makefile.alpha
@@ -1,2 +1,7 @@
+/* some platforms define __alpha, but not __alpha__ */
+#if defined(__alpha) && !defined(__alpha__)
+#define __alpha__
+#endif
+
%.so: %.o
$(LD) -shared -expect_unresolved '*' -o $@ $<