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

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

Issue 907563002: Simplify cli_main (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Created 5 years, 10 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/devenv/build.sh ('k') | ports/geturl/Makefile » ('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="-lnacl_spawn ${NACL_CLI_MAIN_LIB} \ 5 export EXTRA_LIBS="${NACL_CLI_MAIN_LIB} \
6 -lppapi_simple -lnacl_io -lppapi -lppapi_cpp -l${NACL_CPP_LIB}" 6 -lppapi_simple -lnacl_io -lppapi -lppapi_cpp -l${NACL_CPP_LIB}"
7 7
8 # --with-build-sysroot is necessary to run "fixincl" 8 # --with-build-sysroot is necessary to run "fixincl"
9 # properly. Without this option, GCC's build system tries to create 9 # properly. Without this option, GCC's build system tries to create
10 # "include-fixed" based on the host's include directory, which is 10 # "include-fixed" based on the host's include directory, which is
11 # not compatible with nacl-gcc. 11 # not compatible with nacl-gcc.
12 EXTRA_CONFIGURE_ARGS="\ 12 EXTRA_CONFIGURE_ARGS="\
13 --enable-languages=c,c++ --disable-nls \ 13 --enable-languages=c,c++ --disable-nls \
14 --target=x86_64-nacl \ 14 --target=x86_64-nacl \
15 --disable-libstdcxx-pch --enable-threads=nacl" 15 --disable-libstdcxx-pch --enable-threads=nacl"
(...skipping 12 matching lines...) Expand all
28 cp ${nexe} ${PUBLISH_DIR}/${name}_${NACL_ARCH}${NACL_EXEEXT} 28 cp ${nexe} ${PUBLISH_DIR}/${name}_${NACL_ARCH}${NACL_EXEEXT}
29 29
30 pushd ${PUBLISH_DIR} 30 pushd ${PUBLISH_DIR}
31 LogExecute python ${NACL_SDK_ROOT}/tools/create_nmf.py \ 31 LogExecute python ${NACL_SDK_ROOT}/tools/create_nmf.py \
32 ${PUBLISH_DIR}/${name}_*${NACL_EXEEXT} \ 32 ${PUBLISH_DIR}/${name}_*${NACL_EXEEXT} \
33 -s . \ 33 -s . \
34 -o ${name}.nmf 34 -o ${name}.nmf
35 popd 35 popd
36 done 36 done
37 } 37 }
OLDNEW
« no previous file with comments | « ports/devenv/build.sh ('k') | ports/geturl/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698