# HG changeset patch # User Rob Landley # Date 1194212804 21600 # Node ID 7c739084bfd1c7302e81005d5bdabc294c7dbddc # Parent 315f50aa7733e0a1fb3310f13044efa0de4b63df 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. diff -r 315f50aa7733 -r 7c739084bfd1 include.sh --- 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