Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(472)

Side by Side Diff: pnacl/build.sh

Issue 70163008: Fix newlib build for iconv so that we support UTF-16LE and UCS-4LE. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | tools/Makefile » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 "$@"
OLDNEW
« no previous file with comments | « no previous file | tools/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698