| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 # Copyright (c) 2009 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2009 The Native Client Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that be | 3 # Use of this source code is governed by a BSD-style license that be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 # | 5 # |
| 6 | 6 |
| 7 # nacl-esidl-0.1.5.sh | 7 # nacl-esidl-0.1.5.sh |
| 8 # | 8 # |
| 9 # usage: nacl-esidl-0.1.5.sh | 9 # usage: nacl-esidl-0.1.5.sh |
| 10 # | 10 # |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 ../configure --prefix=${NACL_TOOLCHAIN_ROOT} --disable-java --disable-cplusplus
--disable-npapi | 33 ../configure --prefix=${NACL_TOOLCHAIN_ROOT} --disable-java --disable-cplusplus
--disable-npapi |
| 34 make -j4 | 34 make -j4 |
| 35 make install | 35 make install |
| 36 cd .. | 36 cd .. |
| 37 | 37 |
| 38 # build and install C++ DOM API for Native Client | 38 # build and install C++ DOM API for Native Client |
| 39 Remove ${PACKAGE_NAME}-build-nacl | 39 Remove ${PACKAGE_NAME}-build-nacl |
| 40 MakeDir ${PACKAGE_NAME}-build-nacl | 40 MakeDir ${PACKAGE_NAME}-build-nacl |
| 41 cd ${PACKAGE_NAME}-build-nacl | 41 cd ${PACKAGE_NAME}-build-nacl |
| 42 Banner "Configuring ${PACKAGE_NAME} for C++ DOM API for Native Client" | 42 Banner "Configuring ${PACKAGE_NAME} for C++ DOM API for Native Client" |
| 43 CXXFLAGS='-fno-rtti -fno-exceptions' ../configure --prefix=${NACL_SDK_USR} --htm
ldir=${NACL_NATIVE_CLIENT_SDK}/examples/${PACKAGE_NAME} --disable-java --host=na
cl --target=nacl | 43 CXXFLAGS='-fno-rtti -fno-exceptions' ../configure --prefix=${NACLPORTS_PREFIX} -
-htmldir=${NACL_NATIVE_CLIENT_SDK}/examples/${PACKAGE_NAME} --disable-java --hos
t=nacl --target=nacl |
| 44 make -j4 | 44 make -j4 |
| 45 make install | 45 make install |
| 46 cd .. | 46 cd .. |
| 47 | 47 |
| 48 exit 0 | 48 exit 0 |
| 49 | 49 |
| OLD | NEW |