| 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 EXECUTABLES=make${NACL_EXEEXT} | 5 EXECUTABLES=make${NACL_EXEEXT} |
| 6 | 6 |
| 7 NACLPORTS_CPPFLAGS+=" -Dmain=nacl_main -Dpipe=nacl_spawn_pipe" | 7 NACLPORTS_CPPFLAGS+=" -Dpipe=nacl_spawn_pipe" |
| 8 export LIBS="${NACL_CLI_MAIN_LIB}" | 8 EnableCliMain |
| 9 | 9 |
| 10 if [ "${NACL_LIBC}" = "newlib" ]; then | 10 if [ "${NACL_LIBC}" = "newlib" ]; then |
| 11 # TODO(sbc): remove once nacl_io implements these. | 11 # TODO(sbc): remove once nacl_io implements these. |
| 12 export ac_cv_func_getrlimit=no | 12 export ac_cv_func_getrlimit=no |
| 13 export ac_cv_func_seteuid=no | 13 export ac_cv_func_seteuid=no |
| 14 export ac_cv_func_setegid=no | 14 export ac_cv_func_setegid=no |
| 15 # Without this configure will sometimes erroneously define | 15 # Without this configure will sometimes erroneously define |
| 16 # GETLOADAVG_PRIVILEGED=1 (seem to be in the presence of libbsd) | 16 # GETLOADAVG_PRIVILEGED=1 (seem to be in the presence of libbsd) |
| 17 export ac_cv_func_getloadavg_setgid=no | 17 export ac_cv_func_getloadavg_setgid=no |
| 18 NACLPORTS_CPPFLAGS+=" -D_POSIX_VERSION" | 18 NACLPORTS_CPPFLAGS+=" -D_POSIX_VERSION" |
| 19 fi | 19 fi |
| OLD | NEW |