| 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 ConfigureStep() { | 7 ConfigureStep() { |
| 10 Banner "Configuring ${PACKAGE_NAME}" | 8 Banner "Configuring ${PACKAGE_NAME}" |
| 11 # export the nacl tools | 9 # export the nacl tools |
| 12 export CC=${NACLCC} | 10 export CC=${NACLCC} |
| 13 export CXX=${NACLCXX} | 11 export CXX=${NACLCXX} |
| 14 export AR=${NACLAR} | 12 export AR=${NACLAR} |
| 15 export RANLIB=${NACLRANLIB} | 13 export RANLIB=${NACLRANLIB} |
| 16 export PKG_CONFIG_PATH=${NACLPORTS_LIBDIR}/pkgconfig | 14 export PKG_CONFIG_PATH=${NACLPORTS_LIBDIR}/pkgconfig |
| 17 export PKG_CONFIG_LIBDIR=${NACLPORTS_LIBDIR} | 15 export PKG_CONFIG_LIBDIR=${NACLPORTS_LIBDIR} |
| (...skipping 10 matching lines...) Expand all Loading... |
| 28 --prefix=${NACLPORTS_PREFIX} \ | 26 --prefix=${NACLPORTS_PREFIX} \ |
| 29 --exec-prefix=${NACLPORTS_PREFIX} \ | 27 --exec-prefix=${NACLPORTS_PREFIX} \ |
| 30 --libdir=${NACLPORTS_LIBDIR} \ | 28 --libdir=${NACLPORTS_LIBDIR} \ |
| 31 --oldincludedir=${NACLPORTS_INCLUDE} \ | 29 --oldincludedir=${NACLPORTS_INCLUDE} \ |
| 32 --${NACL_OPTION}-mmx \ | 30 --${NACL_OPTION}-mmx \ |
| 33 --${NACL_OPTION}-sse \ | 31 --${NACL_OPTION}-sse \ |
| 34 --${NACL_OPTION}-sse2 \ | 32 --${NACL_OPTION}-sse2 \ |
| 35 --${NACL_OPTION}-asm \ | 33 --${NACL_OPTION}-asm \ |
| 36 --cache-file=nacl.cache.tmp | 34 --cache-file=nacl.cache.tmp |
| 37 } | 35 } |
| 38 | |
| 39 PackageInstall | |
| 40 exit 0 | |
| OLD | NEW |