Re: atomic_LIBS

2016-09-10 Thread Christian Seiler
e your line and separate it into: >> >> -Wl,--push-state -Wl,--as-needed -Wl,-latomic -Wl,--pop-state >> >> but since there's no direct -l argument, it actually does work >> and the things are kept together and in order. >> >> @Muri: use this line in the patch instead:

atomic_LIBS (was: FTBFS: how to test fixes)

2016-09-10 Thread Muri Nicanor
--as-needed -Wl,-latomic -Wl,--pop-state > > but since there's no direct -l argument, it actually does work > and the things are kept together and in order. > > @Muri: use this line in the patch instead: > AC_CHECK_LIB([atomic], [__atomic_add_fetch_8], > [atomic_LIBS="-Wl,--pu