| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 # Copyright (c) 2011 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2011 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: Remove when this is fixed. | 7 # TODO: Remove when this is fixed. |
| 10 # https://code.google.com/p/nativeclient/issues/detail?id=3205 | 8 # https://code.google.com/p/nativeclient/issues/detail?id=3205 |
| 11 if [ "$NACL_ARCH" = "arm" ]; then | 9 if [ "$NACL_ARCH" = "arm" ]; then |
| 12 export NACLPORTS_CFLAGS="${NACLPORTS_CFLAGS//-O2/}" | 10 export NACLPORTS_CFLAGS="${NACLPORTS_CFLAGS//-O2/}" |
| 13 fi | 11 fi |
| 14 | 12 |
| 15 ConfigureStep() { | 13 ConfigureStep() { |
| 16 Banner "Configuring ${PACKAGE_NAME}" | 14 Banner "Configuring ${PACKAGE_NAME}" |
| 17 # export the nacl tools | 15 # export the nacl tools |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 | 62 |
| 65 | 63 |
| 66 PackageInstall() { | 64 PackageInstall() { |
| 67 PreInstallStep | 65 PreInstallStep |
| 68 DownloadStep | 66 DownloadStep |
| 69 ExtractStep | 67 ExtractStep |
| 70 PatchStep | 68 PatchStep |
| 71 ConfigureStep | 69 ConfigureStep |
| 72 BuildAndInstallStep | 70 BuildAndInstallStep |
| 73 } | 71 } |
| 74 | |
| 75 | |
| 76 PackageInstall | |
| 77 exit 0 | |
| OLD | NEW |