Selaa lähdekoodia

not-so-old ld does not have push/pop-state

Samuel Thibault 8 vuotta sitten
vanhempi
commit
b5137e373f
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      configure.ac

+ 1 - 1
configure.ac

@@ -1617,7 +1617,7 @@ if test x$use_fxt = xyes; then
 	if test x$enable_simgrid = xyes -a x$enable_shared = xno ; then
                 # simgrid's SMPI needs fxt to be linked in statically for
                 # variable privatization to work
-		FXT_LIBS="$(pkg-config --variable=libdir fxt)/libfxt.a -Wl,--push-state,--as-needed $(pkg-config --libs --static fxt) -Wl,--pop-state"
+		FXT_LIBS="$(pkg-config --variable=libdir fxt)/libfxt.a -Wl,--as-needed $(pkg-config --libs --static fxt) -Wl,--no-as-needed"
 	fi
 
         AC_ARG_ENABLE(paje-codelet-details, [AS_HELP_STRING([--enable-paje-codelet-details],