comparison sources/sections/bash.build @ 1812:acaa88463c0c draft

Add CROSS_COMPILER_PATH and CC_PREFIX knobs.
author Rob Landley <rob@landley.net>
date Thu, 12 Nov 2015 07:55:05 -0600
parents a7c9fd67ff7a
children
comparison
equal deleted inserted replaced
1811:f326dbd73bee 1812:acaa88463c0c
1 # wire around some tests ./configure can't run when cross-compiling. 1 # wire around some tests ./configure can't run when cross-compiling.
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 && 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 &&
3 LDFLAGS="$STATIC_FLAGS $LDFLAGS" CC="${ARCH}-cc" RANLIB="${ARCH}-ranlib" \ 3 LDFLAGS="$STATIC_FLAGS $LDFLAGS" CC="${CC_PREFIX}cc" \
4 ./configure --prefix="$STAGE_DIR" \ 4 RANLIB="${CC_PREFIX}ranlib" ./configure --prefix="$STAGE_DIR" \
5 --build="${CROSS_HOST}" --host="${CROSS_TARGET}" --cache-file=config.cache \ 5 --build="${CROSS_HOST}" --host="${CROSS_TARGET}" --cache-file=config.cache \
6 --without-bash-malloc --disable-readline && 6 --without-bash-malloc --disable-readline &&
7 # note: doesn't work with -j 7 # note: doesn't work with -j
8 make && 8 make &&
9 make install && 9 make install &&