annotate sources/sections/bash.build @ 1439:d2b121fc1567

Use the ext4 driver for ext3 and ext2 filesystems.
author Rob Landley <rob@landley.net>
date Sat, 10 Sep 2011 08:03:10 -0500
parents a7c9fd67ff7a
children acaa88463c0c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1034
27c38c82401d Move make, bash, and distcc builds into native-compiler.sh. (Break 'em out into sources/sections/*.build.)
Rob Landley <rob@landley.net>
parents:
diff changeset
1 # wire around some tests ./configure can't run when cross-compiling.
1289
a7c9fd67ff7a If the cross compiler supports internationalization, bash tries to stick -lintl into the host compiler, which may not support it. And if you stick a "no" for the question into config.cache it retests. So stick in a "nyet", which isn't a yes (so -lintl isn't added) but doesn't trigger a retest. I hate autoconf.
Rob Landley <rob@landley.net>
parents: 1034
diff changeset
2 echo -e "ac_cv_func_setvbuf_reversed=no\nbash_cv_sys_named_pipes=yes\nbash_cv_have_mbstate_t=yes\nbash_cv_getenv_redef=no\nac_cv_func_bindtextdomain=nyet" > config.cache &&
1034
27c38c82401d Move make, bash, and distcc builds into native-compiler.sh. (Break 'em out into sources/sections/*.build.)
Rob Landley <rob@landley.net>
parents:
diff changeset
3 LDFLAGS="$STATIC_FLAGS $LDFLAGS" CC="${ARCH}-cc" RANLIB="${ARCH}-ranlib" \
27c38c82401d Move make, bash, and distcc builds into native-compiler.sh. (Break 'em out into sources/sections/*.build.)
Rob Landley <rob@landley.net>
parents:
diff changeset
4 ./configure --prefix="$STAGE_DIR" \
27c38c82401d Move make, bash, and distcc builds into native-compiler.sh. (Break 'em out into sources/sections/*.build.)
Rob Landley <rob@landley.net>
parents:
diff changeset
5 --build="${CROSS_HOST}" --host="${CROSS_TARGET}" --cache-file=config.cache \
27c38c82401d Move make, bash, and distcc builds into native-compiler.sh. (Break 'em out into sources/sections/*.build.)
Rob Landley <rob@landley.net>
parents:
diff changeset
6 --without-bash-malloc --disable-readline &&
27c38c82401d Move make, bash, and distcc builds into native-compiler.sh. (Break 'em out into sources/sections/*.build.)
Rob Landley <rob@landley.net>
parents:
diff changeset
7 # note: doesn't work with -j
27c38c82401d Move make, bash, and distcc builds into native-compiler.sh. (Break 'em out into sources/sections/*.build.)
Rob Landley <rob@landley.net>
parents:
diff changeset
8 make &&
27c38c82401d Move make, bash, and distcc builds into native-compiler.sh. (Break 'em out into sources/sections/*.build.)
Rob Landley <rob@landley.net>
parents:
diff changeset
9 make install &&
27c38c82401d Move make, bash, and distcc builds into native-compiler.sh. (Break 'em out into sources/sections/*.build.)
Rob Landley <rob@landley.net>
parents:
diff changeset
10 # Make bash the default shell.
27c38c82401d Move make, bash, and distcc builds into native-compiler.sh. (Break 'em out into sources/sections/*.build.)
Rob Landley <rob@landley.net>
parents:
diff changeset
11 ln -sf bash "$STAGE_DIR/bin/sh"