diff --git a/config/c_weak_symbols.m4 b/config/c_weak_symbols.m4 index dae12fb237..e73d0aedb2 100644 --- a/config/c_weak_symbols.m4 +++ b/config/c_weak_symbols.m4 @@ -23,16 +23,20 @@ AC_DEFUN([_OMPI_C_WEAK_SYMBOLS],[ # need two files because icc will incorrectly not create the # symbols if they are not used in the object file in which they # are defined. Blah! + # To get to compile with icc, have them in a separate header. + cat > conftest_weak.h < conftest_weak.c < conftest.c <