1
mirror of https://github.com/mpv-player/mpv synced 2024-10-22 08:51:57 +02:00
mpv/waftools/detections
Stefano Pigozzi ae0c8ca219 build: conditionally use -Wempty-body
-Wempty-body is not available on all gcc versions but we were using it
unconditionally. Also remove the usage from the clang case. clang still
defines `__GNUC__` so it still gets all the gcc specific flags.

This should fix the build on systems with older gcc versions like OpenBSD which
still comes bundled with gcc 4.2 for license issues.
2014-04-26 23:53:09 +02:00
..
__init__.py switch the build system to waf 2013-11-21 21:22:36 +01:00
compiler.py build: conditionally use -Wempty-body 2014-04-26 23:53:09 +02:00
devices.py switch the build system to waf 2013-11-21 21:22:36 +01:00