Index: jhdf-2.9/native/hdflib/Makefile.in
===================================================================
--- jhdf-2.9.orig/native/hdflib/Makefile.in	2012-12-05 11:50:56.000000000 +0100
+++ jhdf-2.9/native/hdflib/Makefile.in	2012-12-05 11:51:07.000000000 +0100
@@ -61,7 +61,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)
