comparison sources/include.sh @ 513:5644a8164d0d

Revert 509 with a chainsaw. (The gcc man page says gcc-min-heapsize has no effect on code generation, yet the "strip" binary bloated from 1.1 megabytes to 1.8 megabytes when cross compiled for mips from an x86_64 host. I.E. the man page lies.)
author Rob Landley <rob@landley.net>
date Tue, 02 Dec 2008 01:43:34 -0600
parents b4025af91d59
children 808ba1d186ac
comparison
equal deleted inserted replaced
512:b309dd2a45fe 513:5644a8164d0d
17 [ "$CPUS" -lt 1 ] && CPUS=1 17 [ "$CPUS" -lt 1 ] && CPUS=1
18 fi 18 fi
19 19
20 umask 022 20 umask 022
21 unset CFLAGS CXXFLAGS 21 unset CFLAGS CXXFLAGS
22
23 # This tells gcc to aggressively garbage collect its internal data
24 # structures. Without this, gcc triggers the OOM killer trying to rebuild
25 # itself in 128 megs of ram, which is the QEMU default size.
26 export CFLAGS="--param ggc-min-expand=0 --param ggc-min-heapsize=16384"
27 22
28 # Find/create directories 23 # Find/create directories
29 24
30 TOP=`pwd` 25 TOP=`pwd`
31 export SOURCES="${TOP}/sources" 26 export SOURCES="${TOP}/sources"