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 ConfigureStep() { | 5 ConfigureStep() { |
6 if [ "${NACL_LIBC}" = "newlib" ]; then | 6 if [ "${NACL_LIBC}" = "newlib" ]; then |
7 NACLPORTS_CPPFLAGS+=" -I${NACLPORTS_INCLUDE}/glibc-compat" | 7 NACLPORTS_CPPFLAGS+=" -I${NACLPORTS_INCLUDE}/glibc-compat" |
8 fi | 8 fi |
9 | 9 |
10 export LIBS+=" -l${NACL_CXX_LIB}" | 10 export LIBS+=" -l${NACL_CXX_LIB}" |
11 | 11 |
12 NACLPORTS_CPPFLAGS+=" -Dpipe=nacl_spawn_pipe" | 12 NACLPORTS_CPPFLAGS+=" -Dpipe=nacl_spawn_pipe" |
13 | 13 |
14 # Grep fails to build NDEBUG defined | 14 # Grep fails to build NDEBUG defined |
15 # ib/chdir-long.c:62: error: unused variable 'close_fail' | 15 # ib/chdir-long.c:62: error: unused variable 'close_fail' |
16 NACLPORTS_CFLAGS="${NACLPORTS_CFLAGS/-DNDEBUG/}" | 16 NACLPORTS_CFLAGS="${NACLPORTS_CFLAGS/-DNDEBUG/}" |
17 DefaultConfigureStep | 17 DefaultConfigureStep |
18 } | 18 } |
19 | |
20 PublishStep() { | |
21 PublishByArchForDevEnv | |
22 } | |
OLD | NEW |