| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2012 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 # Defaults to dynamic lib, but newlib can only link statically. | 7 # Defaults to dynamic lib, but newlib can only link statically. |
| 10 if [[ ${NACL_GLIBC} = 0 ]]; then | 8 if [[ ${NACL_GLIBC} = 0 ]]; then |
| 11 EXTRA_CMAKE_ARGS="-DLIBTYPE=STATIC" | 9 EXTRA_CMAKE_ARGS="-DLIBTYPE=STATIC" |
| 12 fi | 10 fi |
| 13 | 11 |
| 14 ConfigureStep() { | 12 ConfigureStep() { |
| 15 CMakeConfigureStep | 13 CMakeConfigureStep |
| 16 } | 14 } |
| 17 | |
| 18 PackageInstall | |
| 19 exit 0 | |
| OLD | NEW |