| 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 export EXTRA_LIBS="${NACL_CLI_MAIN_LIB}" | 7 EnableCliMain |
| 8 |
| 8 EXTRA_CONFIGURE_ARGS="\ | 9 EXTRA_CONFIGURE_ARGS="\ |
| 9 --enable-targets=x86_64-nacl,arm-nacl,avr \ | 10 --enable-targets=x86_64-nacl,arm-nacl,avr \ |
| 10 --disable-werror \ | 11 --disable-werror \ |
| 11 --enable-deterministic-archives \ | 12 --enable-deterministic-archives \ |
| 12 --without-zlib" | 13 --without-zlib" |
| 13 | 14 |
| 14 BuildStep() { | 15 BuildStep() { |
| 15 export CONFIG_SITE | 16 export CONFIG_SITE |
| 16 DefaultBuildStep | 17 DefaultBuildStep |
| 17 } | 18 } |
| 18 | 19 |
| 19 InstallStep() { | 20 InstallStep() { |
| 20 DefaultInstallStep | 21 DefaultInstallStep |
| 21 | 22 |
| 22 # The ldscripts that ship with this verion of binutils doesn't seem to | 23 # The ldscripts that ship with this verion of binutils doesn't seem to |
| 23 # work with the glibc toolchain devenv. Instead we copy the linker scripts | 24 # work with the glibc toolchain devenv. Instead we copy the linker scripts |
| 24 # out of the SDK root. | 25 # out of the SDK root. |
| 25 rm -rf ${DESTDIR}${PREFIX}/${NACL_ARCH}-nacl/lib/ldscripts | 26 rm -rf ${DESTDIR}${PREFIX}/${NACL_ARCH}-nacl/lib/ldscripts |
| 26 LogExecute cp -r \ | 27 LogExecute cp -r \ |
| 27 ${NACL_SDK_ROOT}/toolchain/${OS_SUBDIR}_x86_glibc/x86_64-nacl/lib/ldscripts \ | 28 ${NACL_SDK_ROOT}/toolchain/${OS_SUBDIR}_x86_glibc/x86_64-nacl/lib/ldscripts \ |
| 28 ${DESTDIR}${PREFIX}/${NACL_ARCH}-nacl/lib/ | 29 ${DESTDIR}${PREFIX}/${NACL_ARCH}-nacl/lib/ |
| 29 } | 30 } |
| OLD | NEW |