| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 # Copyright (c) 2013 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2013 The Native Client Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 source pkg_info | |
| 7 source ../../build_tools/common.sh | |
| 8 | 6 |
| 9 # TODO(binji): Use assembly | 7 # TODO(binji): Use assembly |
| 10 export EXTRA_CONFIGURE_ARGS="--enable-static -with-cpu=generic_fpu" | 8 export EXTRA_CONFIGURE_ARGS="--enable-static -with-cpu=generic_fpu" |
| 11 | 9 |
| 12 if [ "${NACL_GLIBC}" != "1" ]; then | 10 if [ "${NACL_GLIBC}" != "1" ]; then |
| 13 # Disable network support for newlib builds. | 11 # Disable network support for newlib builds. |
| 14 # TODO(sbc): remove this once network syscalls land in libnacl | 12 # TODO(sbc): remove this once network syscalls land in libnacl |
| 15 EXTRA_CONFIGURE_ARGS+=" --enable-network=no" | 13 EXTRA_CONFIGURE_ARGS+=" --enable-network=no" |
| 16 fi | 14 fi |
| 17 | 15 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 33 echo "Directory: $(pwd)" | 31 echo "Directory: $(pwd)" |
| 34 LogExecute make clean | 32 LogExecute make clean |
| 35 LogExecute make -j${OS_JOBS} ${tests} | 33 LogExecute make -j${OS_JOBS} ${tests} |
| 36 } | 34 } |
| 37 | 35 |
| 38 InstallStep() { | 36 InstallStep() { |
| 39 Banner "Install" | 37 Banner "Install" |
| 40 ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_DIR}/${NACL_BUILD_SUBDIR}/src/
libmpg123 | 38 ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_DIR}/${NACL_BUILD_SUBDIR}/src/
libmpg123 |
| 41 LogExecute make install | 39 LogExecute make install |
| 42 } | 40 } |
| 43 | |
| 44 PackageInstall | |
| 45 exit 0 | |
| OLD | NEW |