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

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

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

Powered by Google App Engine
This is Rietveld 408576698