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

Side by Side Diff: ports/grep/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 ConfigureStep() { 5 ConfigureStep() {
6 if [ "${NACL_LIBC}" = "newlib" ]; then 6 if [ "${NACL_LIBC}" = "newlib" ]; then
7 NACLPORTS_CPPFLAGS+=" -I${NACLPORTS_INCLUDE}/glibc-compat" 7 NACLPORTS_CPPFLAGS+=" -I${NACLPORTS_INCLUDE}/glibc-compat"
8 fi 8 fi
9 9
10 export LIBS+=" -l${NACL_CXX_LIB}" 10 export LIBS+=" -l${NACL_CXX_LIB}"
11 11
12 NACLPORTS_CPPFLAGS+=" -Dpipe=nacl_spawn_pipe" 12 NACLPORTS_CPPFLAGS+=" -Dpipe=nacl_spawn_pipe"
13 13
14 # Grep fails to build NDEBUG defined 14 # Grep fails to build NDEBUG defined
15 # ib/chdir-long.c:62: error: unused variable 'close_fail' 15 # ib/chdir-long.c:62: error: unused variable 'close_fail'
16 NACLPORTS_CFLAGS="${NACLPORTS_CFLAGS/-DNDEBUG/}" 16 NACLPORTS_CFLAGS="${NACLPORTS_CFLAGS/-DNDEBUG/}"
17 DefaultConfigureStep 17 DefaultConfigureStep
18 } 18 }
19
20 PublishStep() {
21 PublishByArchForDevEnv
22 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698