| OLD | NEW |
| 1 # Copyright 2015 The Native Client Authors. All rights reserved. | 1 # Copyright 2015 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 export EXTRA_LIBS="${NACL_CLI_MAIN_LIB}" | 5 export EXTRA_LIBS="${NACL_CLI_MAIN_LIB}" |
| 6 | 6 |
| 7 export LIBS+="-pthread -lnacl_io -l${NACL_CXX_LIB}" | 7 export LIBS+="-pthread -lnacl_io -l${NACL_CXX_LIB}" |
| 8 | 8 |
| 9 if [ "${NACL_LIBC}" = "newlib" ]; then | 9 if [ "${NACL_LIBC}" = "newlib" ]; then |
| 10 NACLPORTS_CPPFLAGS+=" -I${NACLPORTS_INCLUDE}/glibc-compat" | 10 NACLPORTS_CPPFLAGS+=" -I${NACLPORTS_INCLUDE}/glibc-compat" |
| 11 LIBS+=" -lglibc-compat" | 11 LIBS+=" -lglibc-compat" |
| 12 fi | 12 fi |
| 13 | |
| 14 InstallStep() { | |
| 15 DefaultInstallStep | |
| 16 PublishByArchForDevEnv | |
| 17 } | |
| OLD | NEW |