| 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 CONFIG_SUB=build-scripts/config.sub | 7 CONFIG_SUB=build-scripts/config.sub |
| 10 | 8 |
| 11 # TODO: Remove when this is fixed. | 9 # TODO: Remove when this is fixed. |
| 12 # https://code.google.com/p/nativeclient/issues/detail?id=3598 | 10 # https://code.google.com/p/nativeclient/issues/detail?id=3598 |
| 13 if [ "$NACL_GLIBC" = "1" ]; then | 11 if [ "$NACL_GLIBC" = "1" ]; then |
| 14 export NACLPORTS_CFLAGS="${NACLPORTS_CFLAGS//-O2/}" | 12 export NACLPORTS_CFLAGS="${NACLPORTS_CFLAGS//-O2/}" |
| 15 fi | 13 fi |
| 16 | 14 |
| 17 ConfigureStep() { | 15 ConfigureStep() { |
| (...skipping 20 matching lines...) Expand all Loading... |
| 38 --libdir=${NACLPORTS_LIBDIR} \ | 36 --libdir=${NACLPORTS_LIBDIR} \ |
| 39 --oldincludedir=${NACLPORTS_INCLUDE} \ | 37 --oldincludedir=${NACLPORTS_INCLUDE} \ |
| 40 --${NACL_OPTION}-mmx \ | 38 --${NACL_OPTION}-mmx \ |
| 41 --${NACL_OPTION}-sse \ | 39 --${NACL_OPTION}-sse \ |
| 42 --${NACL_OPTION}-sse2 \ | 40 --${NACL_OPTION}-sse2 \ |
| 43 --${NACL_OPTION}-asm \ | 41 --${NACL_OPTION}-asm \ |
| 44 --with-x=no \ | 42 --with-x=no \ |
| 45 --disable-music-flac \ | 43 --disable-music-flac \ |
| 46 --disable-music-mp3 | 44 --disable-music-mp3 |
| 47 } | 45 } |
| 48 | |
| 49 | |
| 50 PackageInstall | |
| 51 exit 0 | |
| OLD | NEW |