Mercurial > hg > aboriginal
changeset 246:7c739084bfd1
The gcc-min-heapsize parameter slows x86-64 gcc down by an order of
magnitude, so for the moment make that conditional on host not being x86-64.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 04 Nov 2007 15:46:44 -0600 |
parents | 315f50aa7733 |
children | 0d8e80202e94 |
files | include.sh |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/include.sh Sat Nov 03 21:00:55 2007 -0500 +++ b/include.sh Sun Nov 04 15:46:44 2007 -0600 @@ -210,6 +210,7 @@ # This tells gcc to aggressively garbage collect its internal data # structures. Without this, gcc triggers the OOM killer trying to rebuild # itself in 128 megs of ram, which is the QEMU default size. +[ "$(uname -m)" != "x86_64" ] && export CFLAGS="--param ggc-min-expand=0 --param ggc-min-heapsize=8192" # Find/create directories