| OLD | NEW |
| 1 # Copyright (c) 2014 The Native Client Authors. All rights reserved. | 1 # Copyright (c) 2014 The Native Client Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 BARE_EXECUTABLES="\ | 5 BARE_EXECUTABLES="\ |
| 6 [ basename cat chgrp chmod chown cksum comm cp csplit cut date dd df dir | 6 [ basename cat chgrp chmod chown cksum comm cp csplit cut date dd df dir |
| 7 dircolors dirname du echo env expand expr factor false fmt fold ginstall head | 7 dircolors dirname du echo env expand expr factor false fmt fold ginstall head |
| 8 id join kill link ln logname ls md5sum mkdir mkfifo mknod mv nl | 8 id join kill link ln logname ls md5sum mkdir mkfifo mknod mv nl |
| 9 nohup od paste pathchk pr printenv printf ptx pwd readlink rm rmdir seq | 9 nohup od paste pathchk pr printenv printf ptx pwd readlink rm rmdir seq |
| 10 sha1sum shred sleep sort split stat stty sum sync tac tail tee | 10 sha1sum shred sleep sort split stat stty sum sync tac tail tee |
| 11 test touch tr true tsort tty unexpand uniq unlink uname vdir wc whoami yes" | 11 test touch tr true tsort tty unexpand uniq unlink uname vdir wc whoami yes" |
| 12 | 12 |
| 13 EXECUTABLES="" | 13 EXECUTABLES="" |
| 14 for exe in ${BARE_EXECUTABLES}; do | 14 for exe in ${BARE_EXECUTABLES}; do |
| 15 EXECUTABLES+=" src/${exe}${NACL_EXEEXT}" | 15 EXECUTABLES+=" src/${exe}${NACL_EXEEXT}" |
| 16 done | 16 done |
| 17 | 17 |
| 18 TRANSLATE_PEXES=no | 18 TRANSLATE_PEXES=no |
| 19 | 19 |
| 20 NACLPORTS_LIBS+=" ${NACL_CLI_MAIN_LIB}" | 20 EnableCliMain |
| 21 NACLPORTS_CPPFLAGS+=" -Dmain=nacl_main" | |
| 22 | |
| 23 EnableGlibcCompat | 21 EnableGlibcCompat |
| 24 | 22 |
| 25 ConfigureStep() { | 23 ConfigureStep() { |
| 26 if [ "${TOOLCHAIN}" = "glibc" ]; then | 24 if [ "${TOOLCHAIN}" = "glibc" ]; then |
| 27 NACLPORTS_CPPFLAGS+=" -D_FORTIFY_SOURCE=0" | 25 NACLPORTS_CPPFLAGS+=" -D_FORTIFY_SOURCE=0" |
| 28 | 26 |
| 29 # Glibc's *at functions don't work correctly since they rely on | 27 # Glibc's *at functions don't work correctly since they rely on |
| 30 # /proc/self/fd/X. This ensure thats gnulib's replacements are used | 28 # /proc/self/fd/X. This ensure thats gnulib's replacements are used |
| 31 # instead. | 29 # instead. |
| 32 export ac_cv_func_faccessat=no | 30 export ac_cv_func_faccessat=no |
| (...skipping 23 matching lines...) Expand all Loading... |
| 56 # we are cross compiling so this doesn't work. Telling configure that perl | 54 # we are cross compiling so this doesn't work. Telling configure that perl |
| 57 # is missing sovles this issues as the expense of missing man pages. | 55 # is missing sovles this issues as the expense of missing man pages. |
| 58 export PERL=missing | 56 export PERL=missing |
| 59 | 57 |
| 60 # TODO(bradnelson): Re-enable when bots have a newer texinfo. | 58 # TODO(bradnelson): Re-enable when bots have a newer texinfo. |
| 61 # Disabling texinfo, as the version on the bots is too old. | 59 # Disabling texinfo, as the version on the bots is too old. |
| 62 export MAKEINFO=true | 60 export MAKEINFO=true |
| 63 | 61 |
| 64 DefaultConfigureStep | 62 DefaultConfigureStep |
| 65 } | 63 } |
| OLD | NEW |