diff options
Diffstat (limited to 'build')
-rwxr-xr-x | build | 17 |
1 files changed, 11 insertions, 6 deletions
@@ -23,12 +23,17 @@ nop: configure-libc: [ ! -d libcbuild ] && mkdir libcbuild || true rm -f libcbuild/config.cache - echo 'libc_cv_forced_unwind=yes' >>libcbuild/config.cache - echo 'libc_cv_c_cleanup=yes' >>libcbuild/config.cache - echo 'libc_cv_gnu89_inline=yes' >>libcbuild/config.cache - echo 'libc_cv_ssp=no' >>libcbuild/config.cache - echo 'libc_cv_slibdir=/lib/'"$${OPK_HOST_ARCH}" \ - >>libcbuild/config.cache + if [ 'x$(OPK_HOST_PLAT)' = 'xbootstrap1' ]; then \ + printf '%s\n' \ + 'libc_cv_forced_unwind=yes' \ + 'libc_cv_c_cleanup=yes' \ + 'libc_cv_gnu89_inline=yes' \ + 'libc_cv_ssp=no' \ + >>libcbuild/config.cache; \ + fi + printf '%s\n' \ + 'libc_cv_slibdir=/lib/$(OPK_HOST_ARCH)' \ + >>libcbuild/config.cache; \ if [ -n "$${TOOLS_PREFIX}" ]; then \ BINUTILS="--with-binutils=$${TOOLS_PREFIX}/bin"; \ else \ |