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

Side by Side Diff: newlib/configure.host

Issue 23470002: Build unix_dir for NaCl. (Closed) Base URL: http://git.chromium.org/native_client/nacl-newlib.git@master
Patch Set: Created 7 years, 3 months 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # configure.host 1 # configure.host
2 2
3 # This shell script handles all host based configuration for newlib. 3 # This shell script handles all host based configuration for newlib.
4 # It sets various shell variables based on the the host and the 4 # It sets various shell variables based on the the host and the
5 # configuration options. You can modify this shell script without 5 # configuration options. You can modify this shell script without
6 # needing to rerun autoconf. 6 # needing to rerun autoconf.
7 7
8 # This shell script should be invoked as 8 # This shell script should be invoked as
9 # . configure.host 9 # . configure.host
10 # If it encounters an error, it will exit with a message. 10 # If it encounters an error, it will exit with a message.
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 # including crt0. 344 # including crt0.
345 # THIS TABLE IS ALPHA SORTED. KEEP IT THAT WAY. 345 # THIS TABLE IS ALPHA SORTED. KEEP IT THAT WAY.
346 346
347 case "${host}" in 347 case "${host}" in
348 *-*-cygwin*) 348 *-*-cygwin*)
349 posix_dir=posix 349 posix_dir=posix
350 stdio64_dir=stdio64 350 stdio64_dir=stdio64
351 xdr_dir=xdr 351 xdr_dir=xdr
352 ;; 352 ;;
353 *-*-nacl*) 353 *-*-nacl*)
354 » newlib_cflags="${newlib_cflags} -DSIGNAL_PROVIDED -DCLOCK_PROVIDED -DHAV E_NANOSLEEP -DMALLOC_PROVIDED" 354 » newlib_cflags="${newlib_cflags} -DSIGNAL_PROVIDED -DCLOCK_PROVIDED -DHAV E_NANOSLEEP -DMALLOC_PROVIDED -D_NO_GETCWD -D_NO_GETLOGIN -D_NO_GETUT -D_NO_GETP ASS"
355 sys_dir=nacl 355 sys_dir=nacl
356 posix_dir=posix 356 posix_dir=posix
357 unix_dir=unix
357 ;; 358 ;;
358 *-*-netware*) 359 *-*-netware*)
359 signal_dir= 360 signal_dir=
360 sys_dir=netware 361 sys_dir=netware
361 ;; 362 ;;
362 *-*-rtems*) # generic RTEMS support 363 *-*-rtems*) # generic RTEMS support
363 sys_dir=rtems 364 sys_dir=rtems
364 posix_dir=posix 365 posix_dir=posix
365 unix_dir=unix 366 unix_dir=unix
366 ;; 367 ;;
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after
799 fi 800 fi
800 801
801 # Remove rpc headers if xdr_dir not specified 802 # Remove rpc headers if xdr_dir not specified
802 if [ "x${xdir_dir}" = "x" ]; then 803 if [ "x${xdir_dir}" = "x" ]; then
803 noinclude="${noinclude} rpc/types.h rpc/xdr.h" 804 noinclude="${noinclude} rpc/types.h rpc/xdr.h"
804 fi 805 fi
805 806
806 if test -z "${have_crt0}" && test -n "${sys_dir}"; then 807 if test -z "${have_crt0}" && test -n "${sys_dir}"; then
807 have_crt0="yes" 808 have_crt0="yes"
808 fi 809 fi
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698