Fix posix_memalign check.
git-svn-id: svn://localhost/ardour2/branches/3.0@5718 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
1928f286e9
commit
4d59eedd68
2
wscript
2
wscript
|
@ -210,7 +210,7 @@ def set_compiler_flags (conf,opt):
|
||||||
debug_flags.append ("-DUSE_X86_64_ASM")
|
debug_flags.append ("-DUSE_X86_64_ASM")
|
||||||
if build_host_supports_sse != 1:
|
if build_host_supports_sse != 1:
|
||||||
print "\nWarning: you are building Ardour with SSE support even though your system does not support these instructions. (This may not be an error, especially if you are a package maintainer)"
|
print "\nWarning: you are building Ardour with SSE support even though your system does not support these instructions. (This may not be an error, especially if you are a package maintainer)"
|
||||||
if conf.check_cc(function_name='posix_memalign', header_name='stdlib.h') == False:
|
if conf.check_cc(function_name='posix_memalign', header_name='stdlib.h', ccflags='-D_XOPEN_SOURCE=600') == False:
|
||||||
optimization_flags.append("-DNO_POSIX_MEMALIGN")
|
optimization_flags.append("-DNO_POSIX_MEMALIGN")
|
||||||
|
|
||||||
# end optimization section
|
# end optimization section
|
||||||
|
|
Loading…
Reference in New Issue
Block a user