--- esmf/build/common.mk.orig	2013-11-26 16:58:50.958274359 +0100
+++ esmf/build/common.mk	2013-11-26 16:59:02.339274158 +0100
@@ -896,7 +896,7 @@
 endif
 ESMF_SL_LIBS_TO_MAKE  = libesmf
 ESMF_SL_LIBLINKER     = $(ESMF_CXXCOMPILER)
-ESMF_SL_LIBOPTS      +=
+ESMF_SL_LIBOPTS      += $(ESMF_CXXCOMPILEOPTS)
 ESMF_SL_LIBLIBS      +=
 
 # - Shared objects
