diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-12-04 20:18:50 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-12-04 20:18:50 +0000 |
commit | 27fdf5f6e3e5f5093e11fe3b615815c3dbbfdfff (patch) | |
tree | 22ddf2c1c338f6314e3a5b666763fe8a0d944cd3 /wscript | |
parent | 89d1a2fdf5f9794f56f6bf960bfbebfad913cf74 (diff) |
fix for OS X 10.6 math.h breakage
git-svn-id: svn://localhost/ardour2/branches/3.0@13597 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 |