fix for OS X 10.6 math.h breakage
git-svn-id: svn://localhost/ardour2/branches/3.0@13597 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
89d1a2fdf5
commit
27fdf5f6e3
8
wscript
8
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
|
||||
|
Loading…
Reference in New Issue
Block a user