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 # The host build of this tool is needed by its dependents. | 5 # The host build of this tool is needed by its dependents. |
6 HOST_BUILD_DIR=${WORK_DIR}/build-nacl-host | 6 HOST_BUILD_DIR=${WORK_DIR}/build_host |
7 HOST_INSTALL_DIR=${WORK_DIR}/install-nacl-host | 7 HOST_INSTALL_DIR=${WORK_DIR}/install_host |
8 | 8 |
9 EXECUTABLES="bdftruncate${NACL_EXEEXT} ucs2any${NACL_EXEEXT}" | 9 EXECUTABLES="bdftruncate${NACL_EXEEXT} ucs2any${NACL_EXEEXT}" |
10 | 10 |
11 NACLPORTS_CPPFLAGS+=" -Dmain=nacl_main" | 11 NACLPORTS_CPPFLAGS+=" -Dmain=nacl_main" |
12 NACLPORTS_LDFLAGS+=" -Dmain=nacl_main" | 12 NACLPORTS_LDFLAGS+=" -Dmain=nacl_main" |
13 export LIBS="-Wl,--undefined=nacl_main \ | 13 export LIBS="-Wl,--undefined=nacl_main \ |
14 ${NACL_CLI_MAIN_LIB} -lppapi_simple \ | 14 ${NACL_CLI_MAIN_LIB} -lppapi_simple \ |
15 -lnacl_io -lppapi -lppapi_cpp -l${NACL_CPP_LIB}" | 15 -lnacl_io -lppapi -lppapi_cpp -l${NACL_CPP_LIB}" |
16 | 16 |
17 if [ "${NACL_LIBC}" = "newlib" ]; then | 17 if [ "${NACL_LIBC}" = "newlib" ]; then |
(...skipping 13 matching lines...) Expand all Loading... |
31 ConfigureStep() { | 31 ConfigureStep() { |
32 BuildForHost | 32 BuildForHost |
33 ChangeDir ${BUILD_DIR} | 33 ChangeDir ${BUILD_DIR} |
34 DefaultConfigureStep | 34 DefaultConfigureStep |
35 } | 35 } |
36 | 36 |
37 InstallStep() { | 37 InstallStep() { |
38 DefaultInstallStep | 38 DefaultInstallStep |
39 PublishByArchForDevEnv | 39 PublishByArchForDevEnv |
40 } | 40 } |
OLD | NEW |