diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2014-04-26 23:44:15 +0200 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2014-04-26 23:53:09 +0200 |
commit | ae0c8ca219184bce33ec713b43868b6f5b22f055 (patch) | |
tree | 4dfb09df561ac7e599eaeffeaebe294dbb84a2e5 /.travis.yml | |
parent | cdafc2f7d7537de02e25b8c86b9930b6762c6d91 (diff) | |
download | mpv-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 '.travis.yml')
0 files changed, 0 insertions, 0 deletions