| OLD | NEW |
| 1 # Copyright (c) 2011 The Native Client Authors. All rights reserved. | 1 # Copyright (c) 2011 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="fc-cache/fc-cache${NACL_EXEEXT}" | 5 EXECUTABLES="fc-cache/fc-cache${NACL_EXEEXT}" |
| 6 EXTRA_CONFIGURE_ARGS="--disable-docs --with-arch=x86" | 6 EXTRA_CONFIGURE_ARGS="--disable-docs --with-arch=x86" |
| 7 | 7 |
| 8 # TODO(sbc): Disable use of random(), because it creates the expectation | 8 # TODO(sbc): Disable use of random(), because it creates the expectation |
| 9 # that initstate(), setstate() are implemented too. | 9 # that initstate(), setstate() are implemented too. |
| 10 # Remove if initstate() and setstate() are added to libnacl. | 10 # Remove if initstate() and setstate() are added to libnacl. |
| 11 if [ ${NACL_LIBC} = "newlib" ]; then | 11 if [ ${NACL_LIBC} = "newlib" ]; then |
| 12 export ac_cv_func_random=no | 12 export ac_cv_func_random=no |
| 13 fi | 13 fi |
| 14 | 14 |
| 15 NACLPORTS_CPPFLAGS+=" -Dmain=nacl_main" | 15 EnableCliMain |
| 16 export LIBS=" ${NACL_CLI_MAIN_LIB}" | |
| OLD | NEW |