Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 877259
Collapse All | Expand All

(-)a/meson.build (-9 lines)
Lines 990-1004 endif Link Here
990
#####################################################################
990
#####################################################################
991
991
992
libatomic = []
992
libatomic = []
993
if not cc.links('''#include <stdint.h>
994
                   int main() {
995
                     char i;
996
                     __atomic_exchange_1(&i, 1, 0);
997
                     return 1;
998
                   }''',
999
                name : 'Atomic builtin requires -latomic')
1000
        libatomic = cc.find_library('atomic')
1001
endif
1002
threads = dependency('threads')
993
threads = dependency('threads')
1003
librt = cc.find_library('rt')
994
librt = cc.find_library('rt')
1004
libm = cc.find_library('m')
995
libm = cc.find_library('m')

Return to bug 877259