make sure the library link respects LDFLAGS http://oss.sgi.com/bugzilla/show_bug.cgi?id=642 --- include/buildmacros +++ include/buildmacros @@ -10,6 +10,7 @@ # during the "dist" phase (packaging). LDFLAGS += $(LOADERFLAGS) $(LLDFLAGS) +LTLDFLAGS += $(LOADERFLAGS) LDLIBS = $(LLDLIBS) $(PLDLIBS) $(MALLOCLIB) MAKEOPTS = --no-print-directory