summaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
authorJan Niklas Hasse <jhasse@bixense.com>2020-11-14 15:03:41 (GMT)
committerGitHub <noreply@github.com>2020-11-14 15:03:41 (GMT)
commita30ccaef7314f5aa858ba3167af08be4b518d960 (patch)
treec1e121625069350ad339101eb4cf5ac0113e7c81 /configure.py
parenta0b56413e476977eaf01467c9b93aaa9e498ef86 (diff)
parent92fc37555fd74b9a3848c956df49a516906af711 (diff)
downloadNinja-a30ccaef7314f5aa858ba3167af08be4b518d960.zip
Ninja-a30ccaef7314f5aa858ba3167af08be4b518d960.tar.gz
Ninja-a30ccaef7314f5aa858ba3167af08be4b518d960.tar.bz2
Merge pull request #1879 from kadler/aix-cleanup
Fix building on AIX
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.py b/configure.py
index 48c4821..cded265 100755
--- a/configure.py
+++ b/configure.py
@@ -596,6 +596,11 @@ all_targets += ninja_test
n.comment('Ancillary executables.')
+if platform.is_aix() and '-maix64' not in ldflags:
+ # Both hash_collision_bench and manifest_parser_perftest require more
+ # memory than will fit in the standard 32-bit AIX shared stack/heap (256M)
+ libs.append('-Wl,-bmaxdata:0x80000000')
+
for name in ['build_log_perftest',
'canon_perftest',
'depfile_parser_perftest',