mpv/waftools
Stefano Pigozzi ce48da9e02 build: use -pthread when available
Our code currently tries to link -lpthread and adds stuff like -D_REENTRANT
based on the target platform.

GCC actually supports to just pass a -pthread compiler and linker flag that
will automatically enable threading and define the correct symbols for the
platform, so let's try to just use that as our first choice.

clang also supports -pthread but it must be used only as a compiler flag,
so we also take care of that scenario with this commit.
2014-04-27 10:40:01 +02:00
..
checks build: use -pthread when available 2014-04-27 10:40:01 +02:00
detections build: conditionally use -Wempty-body 2014-04-26 23:53:09 +02:00
fragments Remove CPU detection and inline asm handling 2014-04-19 17:10:56 +02:00
generators
__init__.py
dependencies.py
features.py
inflectors.py
syms.py
waf_customizations.py