--- jhdf-3.5.orig/native/hdflib/Makefile.in	2010-01-20 16:39:19.000000000 +0000
+++ jhdf-2.5/native/hdflib/Makefile.in	2010-01-20 16:39:40.000000000 +0000
@@ -56,7 +56,7 @@
 
 libjhdf: $(OBJECTS) 
 	-mkdir -p $(LIBDIR);
-	$(LD) $(LDOPT) -o $(LIBDIR)/libjhdf.$(JSLEXT) $(LDOPT2) $(OBJECTS) $(LIBS)
+	$(LD) $(LDOPT) $(COPT) -o $(LIBDIR)/libjhdf.$(JSLEXT) $(LDOPT2) $(OBJECTS) $(LIBS)
 
 clean:
 	$(RM) -f *.o so_locations $(LIBDIR)/libjhdf.$(JSLEXT)
