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

Side by Side Diff: ports/gcc/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/gcc-avr/build.sh ('k') | no next file » | 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 EnableCliMain
5 export EXTRA_LIBS="${NACL_CLI_MAIN_LIB}" 6 export EXTRA_LIBS="${NACL_CLI_MAIN_LIB}"
6 NACLPORTS_CPPFLAGS+=" -Dpipe=nacl_spawn_pipe" 7 NACLPORTS_CPPFLAGS+=" -Dpipe=nacl_spawn_pipe"
7 8
8 # --with-build-sysroot is necessary to run "fixincl" 9 # --with-build-sysroot is necessary to run "fixincl"
9 # properly. Without this option, GCC's build system tries to create 10 # properly. Without this option, GCC's build system tries to create
10 # "include-fixed" based on the host's include directory, which is 11 # "include-fixed" based on the host's include directory, which is
11 # not compatible with nacl-gcc. 12 # not compatible with nacl-gcc.
12 EXTRA_CONFIGURE_ARGS="\ 13 EXTRA_CONFIGURE_ARGS="\
13 --enable-languages=c,c++ --disable-nls \ 14 --enable-languages=c,c++ --disable-nls \
14 --target=x86_64-nacl \ 15 --target=x86_64-nacl \
15 --disable-libstdcxx-pch --enable-threads=nacl" 16 --disable-libstdcxx-pch --enable-threads=nacl"
16 17
17 # Force gcc to think that makeinfo is old so it won't build documentation. 18 # Force gcc to think that makeinfo is old so it won't build documentation.
18 # Actually the issue is that its too new on most installs these days 19 # Actually the issue is that its too new on most installs these days
19 # (Ubunut/Trusty for example) and causes the build to break. 20 # (Ubunut/Trusty for example) and causes the build to break.
20 export gcc_cv_prog_makeinfo_modern=no 21 export gcc_cv_prog_makeinfo_modern=no
21 22
22 ConfigureStep() { 23 ConfigureStep() {
23 DefaultConfigureStep 24 DefaultConfigureStep
24 for cache_file in $(find . -name config.cache); do 25 for cache_file in $(find . -name config.cache); do
25 Remove $cache_file 26 Remove $cache_file
26 done 27 done
27 } 28 }
OLDNEW
« no previous file with comments | « ports/gcc-avr/build.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698