Index: jhdf-2.9/native/hdf5lib/Makefile.in
===================================================================
--- jhdf-2.9.orig/native/hdf5lib/Makefile.in	2012-12-05 11:50:56.000000000 +0100
+++ jhdf-2.9/native/hdf5lib/Makefile.in	2012-12-05 11:51:05.000000000 +0100
@@ -48,7 +48,7 @@
 
 libjhdf5: $(OBJECTS)
 	-mkdir -p $(LIBDIR);
-	$(LD) $(LDOPT) -o $(LIBDIR)/libjhdf5.$(JSLEXT) $(LDOPT2) $(OBJECTS) $(LIBS)
+	$(LD) $(LDOPT) $(COPT) -o $(LIBDIR)/libjhdf5.$(JSLEXT) $(LDOPT2) $(OBJECTS) $(LIBS)
 
 clean:
 	$(RM) -f *.o so_locations $(LIBDIR)/libjhdf5.$(JSLEXT)
