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

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

Issue 1285953002: Switch devenv to use pkg packages (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@toolchain_install
Patch Set: Created 5 years, 4 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
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 6
7 if [ "${NACL_LIBC}" = "newlib" ]; then 7 if [ "${NACL_LIBC}" = "newlib" ]; then
8 NACLPORTS_CPPFLAGS+=" -I${NACLPORTS_INCLUDE}/glibc-compat" 8 NACLPORTS_CPPFLAGS+=" -I${NACLPORTS_INCLUDE}/glibc-compat"
9 fi 9 fi
10 10
11 NACLPORTS_CPPFLAGS+=" -DGNULIB_defined_struct_sigaction -Dpipe=nacl_spawn_pipe" 11 NACLPORTS_CPPFLAGS+=" -DGNULIB_defined_struct_sigaction -Dpipe=nacl_spawn_pipe"
12 12
13 PatchStep() { 13 PatchStep() {
14 DefaultPatchStep 14 DefaultPatchStep
15 # Touch documentation to prevent it from updating. 15 # Touch documentation to prevent it from updating.
16 touch ${SRC_DIR}/doc/* 16 touch ${SRC_DIR}/doc/*
17 } 17 }
18
19 PublishStep() {
20 PublishByArchForDevEnv
21 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698