| 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(sbc): Remove this once 32 becomes stable | 7 # TODO(sbc): Remove this once 32 becomes stable |
| 10 # https://code.google.com/p/nativeclient/issues/detail?id=3599 | 8 # https://code.google.com/p/nativeclient/issues/detail?id=3599 |
| 11 if [ "$NACL_ARCH" = "pnacl" -a ${NACL_SDK_VERSION} -lt 32 ]; then | 9 if [ "$NACL_ARCH" = "pnacl" -a ${NACL_SDK_VERSION} -lt 32 ]; then |
| 12 NACLPORTS_CFLAGS="${NACLPORTS_CFLAGS//-O2/}" | 10 NACLPORTS_CFLAGS="${NACLPORTS_CFLAGS//-O2/}" |
| 13 fi | 11 fi |
| 14 | 12 |
| 15 export LIBS="-lm" | 13 export LIBS="-lm" |
| 16 | 14 |
| 17 CONFIG_SUB=config/config.sub | 15 CONFIG_SUB=config/config.sub |
| 18 DefaultPackageInstall | |
| 19 exit 0 | |
| 20 | |
| OLD | NEW |