diff options
author | David Robillard <d@drobilla.net> | 2009-10-02 14:46:10 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-10-02 14:46:10 +0000 |
commit | 4d59eedd681a63da5024fea8b6c0fb2ee4e28bb2 (patch) | |
tree | 5b652593f8e2c831f362e5152745143927d6b4ba /wscript | |
parent | 1928f286e91243004a014ec67c8bb13976d0927b (diff) |
Fix posix_memalign check.
git-svn-id: svn://localhost/ardour2/branches/3.0@5718 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -210,7 +210,7 @@ def set_compiler_flags (conf,opt): debug_flags.append ("-DUSE_X86_64_ASM") 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)" - 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") # end optimization section |