| OLD | NEW |
| 1 # Copyright (c) 2013 The Native Client Authors. All rights reserved. | 1 # Copyright (c) 2013 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="bdftopcf${NACL_EXEEXT}" | 5 EXECUTABLES="bdftopcf${NACL_EXEEXT}" |
| 6 | 6 |
| 7 NACLPORTS_CPPFLAGS+=" -Dmain=nacl_main" | 7 NACLPORTS_CPPFLAGS+=" -Dmain=nacl_main" |
| 8 NACLPORTS_LDFLAGS+=" -Dmain=nacl_main" | 8 NACLPORTS_LDFLAGS+=" -Dmain=nacl_main" |
| 9 export LIBS="-lz ${NACL_CLI_MAIN_LIB}" | 9 export LIBS="-lz ${NACL_CLI_MAIN_LIB}" |
| 10 | 10 |
| 11 if [ "${NACL_LIBC}" = "newlib" ]; then | 11 if [ "${NACL_LIBC}" = "newlib" ]; then |
| 12 NACLPORTS_CPPFLAGS+=" -I${NACLPORTS_INCLUDE}/glibc-compat" | 12 NACLPORTS_CPPFLAGS+=" -I${NACLPORTS_INCLUDE}/glibc-compat" |
| 13 export LIBS+=" -lglibc-compat" | 13 export LIBS+=" -lglibc-compat" |
| 14 fi | 14 fi |
| 15 | |
| 16 PublishStep() { | |
| 17 PublishByArchForDevEnv | |
| 18 } | |
| OLD | NEW |