diff --git a/wscript b/wscript index c27c433e04..8a4912d47b 100644 --- a/wscript +++ b/wscript @@ -162,6 +162,14 @@ def set_compiler_flags (conf,opt): else: conf.env['build_target'] = opt.dist_target + if conf.env['build_target'] = 'snowleopard': + # + # stupid OS X 10.6 has a bug in math.h that prevents llrint and friends + # from being visible. + # + debug_flags.append ('-U__STRICT_ANSI__') + optimization_flags.append ('-U__STRICT_ANSI__') + if cpu == 'powerpc' and conf.env['build_target'] != 'none': # # Apple/PowerPC optimization options