| OLD | NEW |
| 1 # Copyright (c) 2014 The Native Client Authors. All rights reserved. | 1 # Copyright (c) 2014 The Native Client Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 export ac_cv_func_getrlimit=no | 5 export ac_cv_func_getrlimit=no |
| 6 | 6 |
| 7 EnableCliMain | 7 EnableCliMain |
| 8 export LIBS="${NACLPORTS_LIBS}" |
| 8 | 9 |
| 9 EXTRA_CONFIGURE_ARGS="\ | 10 EXTRA_CONFIGURE_ARGS="\ |
| 10 --enable-targets=x86_64-nacl,arm-nacl,avr \ | 11 --enable-targets=x86_64-nacl,arm-nacl,avr \ |
| 11 --disable-werror \ | 12 --disable-werror \ |
| 12 --enable-deterministic-archives \ | 13 --enable-deterministic-archives \ |
| 13 --without-zlib" | 14 --without-zlib" |
| 14 | 15 |
| 15 BuildStep() { | 16 BuildStep() { |
| 16 export CONFIG_SITE | 17 export CONFIG_SITE |
| 17 DefaultBuildStep | 18 DefaultBuildStep |
| 18 } | 19 } |
| 19 | 20 |
| 20 InstallStep() { | 21 InstallStep() { |
| 21 DefaultInstallStep | 22 DefaultInstallStep |
| 22 | 23 |
| 23 # The ldscripts that ship with this verion of binutils doesn't seem to | 24 # The ldscripts that ship with this verion of binutils doesn't seem to |
| 24 # work with the glibc toolchain devenv. Instead we copy the linker scripts | 25 # work with the glibc toolchain devenv. Instead we copy the linker scripts |
| 25 # out of the SDK root. | 26 # out of the SDK root. |
| 26 rm -rf ${DESTDIR}${PREFIX}/${NACL_ARCH}-nacl/lib/ldscripts | 27 rm -rf ${DESTDIR}${PREFIX}/${NACL_ARCH}-nacl/lib/ldscripts |
| 27 LogExecute cp -r \ | 28 LogExecute cp -r \ |
| 28 ${NACL_SDK_ROOT}/toolchain/${OS_SUBDIR}_x86_glibc/x86_64-nacl/lib/ldscripts \ | 29 ${NACL_SDK_ROOT}/toolchain/${OS_SUBDIR}_x86_glibc/x86_64-nacl/lib/ldscripts \ |
| 29 ${DESTDIR}${PREFIX}/${NACL_ARCH}-nacl/lib/ | 30 ${DESTDIR}${PREFIX}/${NACL_ARCH}-nacl/lib/ |
| 30 } | 31 } |
| OLD | NEW |