1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-22 23:02:37 +00:00
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 build: fix unicode handling of the version string 2014-03-14 22:10:22 +01:00
__init__.py
dependencies.py
features.py build: hide duplicate options from --help 2013-12-26 10:09:17 +01:00
inflectors.py
syms.py Kill all tabs 2014-04-13 18:03:01 +02:00
waf_customizations.py