Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(245)

Side by Side Diff: ports/binutils/build.sh

Issue 1773403005: Fix binutils, gcc, gcc-avr in devenv (after roll). (Closed) Base URL: https://chromium.googlesource.com/webports.git@master
Patch Set: fix Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ports/binutils-2.25/build.sh ('k') | ports/gcc-avr/build.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 }
OLDNEW
« no previous file with comments | « ports/binutils-2.25/build.sh ('k') | ports/gcc-avr/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698