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 export EXTRA_LIBS="${NACL_CLI_MAIN_LIB} -lppapi_simple -lnacl_spawn \ | 5 export EXTRA_LIBS="${NACL_CLI_MAIN_LIB} -lppapi_simple \ |
6 -lnacl_io -lppapi -lppapi_cpp -l${NACL_CPP_LIB}" | 6 -lnacl_io -lppapi -lppapi_cpp -l${NACL_CPP_LIB}" |
7 | 7 |
8 if [ "${NACL_LIBC}" = "newlib" ]; then | 8 if [ "${NACL_LIBC}" = "newlib" ]; then |
9 NACLPORTS_CPPFLAGS+=" -I${NACLPORTS_INCLUDE}/glibc-compat" | 9 NACLPORTS_CPPFLAGS+=" -I${NACLPORTS_INCLUDE}/glibc-compat" |
10 fi | 10 fi |
11 | 11 |
12 NACLPORTS_CPPFLAGS+=" -DGNULIB_defined_struct_sigaction" | 12 NACLPORTS_CPPFLAGS+=" -DGNULIB_defined_struct_sigaction" |
13 | 13 |
14 PatchStep() { | 14 PatchStep() { |
15 DefaultPatchStep | 15 DefaultPatchStep |
16 # Touch documentation to prevent it from updating. | 16 # Touch documentation to prevent it from updating. |
17 touch ${SRC_DIR}/doc/* | 17 touch ${SRC_DIR}/doc/* |
18 } | 18 } |
19 | 19 |
20 PublishStep() { | 20 PublishStep() { |
21 PublishByArchForDevEnv | 21 PublishByArchForDevEnv |
22 } | 22 } |
OLD | NEW |