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 # subversion's build system seem to have a bug with out-of-tree builds | 5 # subversion's build system seem to have a bug with out-of-tree builds |
6 # and parallel building that was causing occational flakes on the buildbots. | 6 # and parallel building that was causing occational flakes on the buildbots. |
7 # The mkdir-init target appears to be required before any object file can be | 7 # The mkdir-init target appears to be required before any object file can be |
8 # built but none of the object files seem to depend on this. | 8 # built but none of the object files seem to depend on this. |
9 OS_JOBS=1 | 9 OS_JOBS=1 |
10 | 10 |
11 NACLPORTS_CPPFLAGS+=" -Dmain=nacl_main" | 11 NACLPORTS_CPPFLAGS+=" -Dmain=nacl_main" |
12 | 12 |
13 export LIBS="${NACL_CLI_MAIN_LIB}" | 13 export LIBS="${NACL_CLI_MAIN_LIB}" |
14 | 14 |
15 EXTRA_CONFIGURE_ARGS="--with-apr=${NACL_PREFIX}" | 15 EXTRA_CONFIGURE_ARGS="--with-apr=${NACL_PREFIX}" |
16 EXTRA_CONFIGURE_ARGS+=" --with-apr-util=${NACL_PREFIX}" | 16 EXTRA_CONFIGURE_ARGS+=" --with-apr-util=${NACL_PREFIX}" |
17 EXTRA_CONFIGURE_ARGS+=" --enable-all-static" | 17 EXTRA_CONFIGURE_ARGS+=" --enable-all-static" |
18 | 18 |
19 if [ "${NACL_LIBC}" = "newlib" ]; then | 19 if [ "${NACL_LIBC}" = "newlib" ]; then |
20 NACLPORTS_CPPFLAGS+=" -I${NACLPORTS_INCLUDE}/glibc-compat" | 20 NACLPORTS_CPPFLAGS+=" -I${NACLPORTS_INCLUDE}/glibc-compat" |
21 export LIBS+=" -lglibc-compat" | 21 export LIBS+=" -lglibc-compat" |
22 fi | 22 fi |
23 | |
24 InstallStep() { | |
25 return | |
26 } | |
27 | |
28 PublishStep() { | |
29 PublishByArchForDevEnv | |
30 } | |
31 | |
OLD | NEW |