summaryrefslogtreecommitdiffstats
path: root/waftools/checks/custom.py
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2014-04-26 23:44:15 +0200
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2014-04-26 23:53:09 +0200
commitae0c8ca219184bce33ec713b43868b6f5b22f055 (patch)
tree4dfb09df561ac7e599eaeffeaebe294dbb84a2e5 /waftools/checks/custom.py
parentcdafc2f7d7537de02e25b8c86b9930b6762c6d91 (diff)
downloadmpv-ae0c8ca219184bce33ec713b43868b6f5b22f055.tar.bz2
mpv-ae0c8ca219184bce33ec713b43868b6f5b22f055.tar.xz
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.
Diffstat (limited to 'waftools/checks/custom.py')
0 files changed, 0 insertions, 0 deletions