diff options
author | Lukas Larsson <[email protected]> | 2013-10-28 18:26:40 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2013-11-01 10:39:29 +0100 |
commit | 70ebf76f1cef4a6de6be3ea96b36fb81fe245921 (patch) | |
tree | cd8ae5d1663cdd40acec0a05cf4ad1d08f05351c /xcomp/erl-xcomp.conf.template | |
parent | 207a13a549052e014a82362032995e347ffb68ff (diff) | |
download | otp-70ebf76f1cef4a6de6be3ea96b36fb81fe245921.tar.gz otp-70ebf76f1cef4a6de6be3ea96b36fb81fe245921.tar.bz2 otp-70ebf76f1cef4a6de6be3ea96b36fb81fe245921.zip |
erts: Add max alignment posix_memalign configure check
On some OSs posix_memalign exists, but it does not allow for alignment
greater than the current page size. So we have to do a runtime check for
alignment size and also add cross compile options.
Diffstat (limited to 'xcomp/erl-xcomp.conf.template')
-rw-r--r-- | xcomp/erl-xcomp.conf.template | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xcomp/erl-xcomp.conf.template b/xcomp/erl-xcomp.conf.template index 7d70332cef..ad72b7d66b 100644 --- a/xcomp/erl-xcomp.conf.template +++ b/xcomp/erl-xcomp.conf.template @@ -264,4 +264,10 @@ # system must have reliable floating point exceptions. #erl_xcomp_reliable_fpe= +# * `erl_xcomp_posix_memalign' - `yes|no'. Defaults to `yes' if `posix_memalign' +# system call exists; otherwise `no'. If `yes', the target system must have a +# `posix_memalign' implementation that accepts larger than page size +# alignment. +#erl_xcomp_posix_memalign= + ## ----------------------------------------------------------------------------- |