| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 # | 5 # |
| 6 #@ PNaCl toolchain build script | 6 #@ PNaCl toolchain build script |
| 7 #@------------------------------------------------------------------- | 7 #@------------------------------------------------------------------- |
| 8 #@ This script builds the ARM and PNaCl untrusted toolchains. | 8 #@ This script builds the ARM and PNaCl untrusted toolchains. |
| 9 #@ It MUST be run from the native_client/ directory. | 9 #@ It MUST be run from the native_client/ directory. |
| 10 ###################################################################### | 10 ###################################################################### |
| (...skipping 2318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2329 env -i \ | 2329 env -i \ |
| 2330 PATH="/usr/bin:/bin" \ | 2330 PATH="/usr/bin:/bin" \ |
| 2331 "${STD_ENV_FOR_NEWLIB[@]}" \ | 2331 "${STD_ENV_FOR_NEWLIB[@]}" \ |
| 2332 ${srcdir}/configure \ | 2332 ${srcdir}/configure \ |
| 2333 --disable-multilib \ | 2333 --disable-multilib \ |
| 2334 --prefix="${NEWLIB_INSTALL_DIR}" \ | 2334 --prefix="${NEWLIB_INSTALL_DIR}" \ |
| 2335 --disable-newlib-supplied-syscalls \ | 2335 --disable-newlib-supplied-syscalls \ |
| 2336 --disable-texinfo \ | 2336 --disable-texinfo \ |
| 2337 --disable-libgloss \ | 2337 --disable-libgloss \ |
| 2338 --enable-newlib-iconv \ | 2338 --enable-newlib-iconv \ |
| 2339 --enable-newlib-iconv-from-encodings=UTF-8,UTF-16,UCS-4 \ | 2339 --enable-newlib-iconv-from-encodings=UTF-8,UTF-16LE,UCS-4LE,UTF-16,UCS-4
\ |
| 2340 --enable-newlib-iconv-to-encodings=UTF-8,UTF-16,UCS-4 \ | 2340 --enable-newlib-iconv-to-encodings=UTF-8,UTF-16LE,UCS-4LE,UTF-16,UCS-4 \ |
| 2341 --enable-newlib-io-long-long \ | 2341 --enable-newlib-io-long-long \ |
| 2342 --enable-newlib-io-long-double \ | 2342 --enable-newlib-io-long-double \ |
| 2343 --enable-newlib-io-c99-formats \ | 2343 --enable-newlib-io-c99-formats \ |
| 2344 --enable-newlib-mb \ | 2344 --enable-newlib-mb \ |
| 2345 --target="${NEWLIB_TARGET}" | 2345 --target="${NEWLIB_TARGET}" |
| 2346 | 2346 |
| 2347 spopd | 2347 spopd |
| 2348 } | 2348 } |
| 2349 | 2349 |
| 2350 newlib-needs-make() { | 2350 newlib-needs-make() { |
| (...skipping 1084 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3435 | 3435 |
| 3436 if [ "$(type -t $1)" != "function" ]; then | 3436 if [ "$(type -t $1)" != "function" ]; then |
| 3437 #Usage | 3437 #Usage |
| 3438 echo "ERROR: unknown function '$1'." >&2 | 3438 echo "ERROR: unknown function '$1'." >&2 |
| 3439 echo "For help, try:" | 3439 echo "For help, try:" |
| 3440 echo " $0 help" | 3440 echo " $0 help" |
| 3441 exit 1 | 3441 exit 1 |
| 3442 fi | 3442 fi |
| 3443 | 3443 |
| 3444 "$@" | 3444 "$@" |
| OLD | NEW |