diff --git a/src/makefiles/Makefile.irix5 b/src/makefiles/Makefile.irix5
index e0f705d051e1a6a156a83cc5a1eace8eb795c91b..76ca8bb3a31b9b1d537ffe9f72128c6ef5761627 100644
--- a/src/makefiles/Makefile.irix5
+++ b/src/makefiles/Makefile.irix5
@@ -3,5 +3,6 @@
 RANLIB= touch
 
 %.so: %.o
-	$(LD) -G -Bdynamic -o $@ $< $(LDFLAGS)
+	$(LD) -G -Bdynamic -shared -o $@ $< $(
+