changeset 509:b4025af91d59

A gcc-min-heapsize of 16384 seems sufficient for a 64-bit host.
author Rob Landley <rob@landley.net>
date Sun, 30 Nov 2008 14:24:24 -0600
parents 909a4921273d
children d6182f514567
files sources/include.sh
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/sources/include.sh	Sun Nov 30 06:20:35 2008 -0600
+++ b/sources/include.sh	Sun Nov 30 14:24:24 2008 -0600
@@ -22,10 +22,8 @@
 
 # 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.  Don't do
-# this on a 64 bit host or gcc will slow to a crawl due to insufficient memory.
-[ "$(uname -m)" != "x86_64" ] &&
-  export CFLAGS="--param ggc-min-expand=0 --param ggc-min-heapsize=16384"
+# itself in 128 megs of ram, which is the QEMU default size.
+export CFLAGS="--param ggc-min-expand=0 --param ggc-min-heapsize=16384"
 
 # Find/create directories