Bläddra i källkod

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

Samuel Thibault 8 år sedan
förälder
incheckning
b5137e373f
1 ändrade filer med 1 tillägg och 1 borttagningar
  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],