summaryrefslogtreecommitdiffstats
path: root/bootstrap.py
diff options
context:
space:
mode:
authorDiogo Franco (Kovensky) <diogomfranco@gmail.com>2014-02-13 19:29:23 -0300
committerwm4 <wm4@nowhere>2014-03-11 00:08:53 +0100
commitc4d905b567fa9f56001696086383d57f40f14fab (patch)
tree1101650094fb38095ca6270092155ca8698bbd7c /bootstrap.py
parente4c69376fc13c21a8ecb09a45d01045f88f40b58 (diff)
downloadmpv-c4d905b567fa9f56001696086383d57f40f14fab.tar.bz2
mpv-c4d905b567fa9f56001696086383d57f40f14fab.tar.xz
build: Add -U__STRICT_ANSI__ to CFLAGS on Cygwin
Cygwin's libc (newlib) doesn't obey a lot of unix feature test macros, including _GNU_SOURCE; as a result, a lot of functions and defines get masked out -- important defines such as M_PI and strcasecmp. Work around it by undefining __STRICT_ANSI__ on cygwin systems. This will still cause compilation issues on any non-cygwin system that uses newlib, but hopefully nobody does that, or if they do, they will find this commit message and know to add -U__STRICT_ANSI__ to their CFLAGS. Hopefully.
Diffstat (limited to 'bootstrap.py')
0 files changed, 0 insertions, 0 deletions