aboutsummaryrefslogtreecommitdiff
path: root/dev/base_include
diff options
context:
space:
mode:
authorGuillaume Melquiond2014-05-22 10:48:11 +0200
committerGuillaume Melquiond2014-05-22 10:48:11 +0200
commit4d6a5677f0f4af0193bb42f5d2938287efaaf91b (patch)
treedf73ba2913e000fd809a7ae81e4b6cd82926a765 /dev/base_include
parentcc63a961f846e6e00f56d4c1e98d80fafbfb17b8 (diff)
Fix native_compute for systems with a limited size for the command line.
The call to the native compiler can fail due to the sheer amounts of -I options passed to it. Indeed, it is easy to get the command line to exceed 512KB, thus causing various operating systems to reject it. This commit avoids the issue by only passing the -I options that matter for the currently compiled code. Note that, in the worst case, this commit is still not sufficient on Windows (32KB max), but this worst case should be rather uncommon and thus can be ignored for now. For the record, the command-line size mandated by Posix is 4KB.
Diffstat (limited to 'dev/base_include')
0 files changed, 0 insertions, 0 deletions