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

Side by Side Diff: ports/m4/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/libgit2-demo/Makefile ('k') | ports/make/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 EXTRA_LIBS="${NACL_CLI_MAIN_LIB} -lppapi_simple -lnacl_spawn \ 5 export EXTRA_LIBS="${NACL_CLI_MAIN_LIB} -lppapi_simple \
6 -lnacl_io -lppapi -lppapi_cpp -l${NACL_CPP_LIB}" 6 -lnacl_io -lppapi -lppapi_cpp -l${NACL_CPP_LIB}"
7 7
8 if [ "${NACL_LIBC}" = "newlib" ]; then 8 if [ "${NACL_LIBC}" = "newlib" ]; then
9 NACLPORTS_CPPFLAGS+=" -I${NACLPORTS_INCLUDE}/glibc-compat" 9 NACLPORTS_CPPFLAGS+=" -I${NACLPORTS_INCLUDE}/glibc-compat"
10 fi 10 fi
11 11
12 NACLPORTS_CPPFLAGS+=" -DGNULIB_defined_struct_sigaction" 12 NACLPORTS_CPPFLAGS+=" -DGNULIB_defined_struct_sigaction"
13 13
14 PatchStep() { 14 PatchStep() {
15 DefaultPatchStep 15 DefaultPatchStep
16 # Touch documentation to prevent it from updating. 16 # Touch documentation to prevent it from updating.
17 touch ${SRC_DIR}/doc/* 17 touch ${SRC_DIR}/doc/*
18 } 18 }
19 19
20 PublishStep() { 20 PublishStep() {
21 PublishByArchForDevEnv 21 PublishByArchForDevEnv
22 } 22 }
OLDNEW
« no previous file with comments | « ports/libgit2-demo/Makefile ('k') | ports/make/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698