Mercurial > hg > aboriginal
diff include.sh @ 363:80f520811ed6
Teach cross-compiler.sh how to produce static binaries when BUILD_STATIC=1
author | Rob Landley <rob@landley.net> |
---|---|
date | Thu, 10 Jul 2008 09:21:41 -0500 |
parents | 06f29c81ac8e |
children | 739a56397f32 |
line wrap: on
line diff
--- a/include.sh Thu Jul 10 03:13:23 2008 -0500 +++ b/include.sh Thu Jul 10 09:21:41 2008 -0500 @@ -13,6 +13,10 @@ # export RECORD_COMMANDS=1 +# If this is set, the cross-compiler stage is compiled with --static. + +# export BUILD_STATIC=1 + # What host compiler should we use? [ -z "$CC" ] && CC=gcc