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

Side by Side Diff: ports/gawk/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) 2015 The Native Client Authors. All rights reserved. 1 # Copyright (c) 2015 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 # getopt.c and getopt1.c have been commented for build 5 # getopt.c and getopt1.c have been commented for build
6 NACLPORTS_CFLAGS+=" -Dmain=nacl_main" 6 NACLPORTS_CFLAGS+=" -Dmain=nacl_main"
7 if [ ${TOOLCHAIN} != "glibc" ]; then 7 if [ ${TOOLCHAIN} != "glibc" ]; then
8 NACLPORTS_CFLAGS+=" -D__GNU_LIBRARY__ " 8 NACLPORTS_CFLAGS+=" -D__GNU_LIBRARY__ "
9 fi 9 fi
10 10
11 NACLPORTS_LDFLAGS+=" ${NACL_CLI_MAIN_LIB}" 11 NACLPORTS_LDFLAGS+=" ${NACL_CLI_MAIN_LIB}"
12 12
13 BuildStep() { 13 BuildStep() {
14 # SetupCrossEnvironment 14 # SetupCrossEnvironment
15 # including readline because it is not linked by itself 15 # including readline because it is not linked by itself
16 # ncurses also has to be linked otherwise multiple 16 # ncurses also has to be linked otherwise multiple
17 # undefined errors appear in linking readline 17 # undefined errors appear in linking readline
18 LogExecute make -j${OS_JOBS} \ 18 LogExecute make -j${OS_JOBS} \
19 LIBREADLINE="-lreadline -lncurses" gawk${NACL_EXEEXT} 19 LIBREADLINE="-lreadline -lncurses" gawk${NACL_EXEEXT}
20 } 20 }
21
22 InstallStep() {
23 return
24 }
25
26 PublishStep() {
27 PublishByArchForDevEnv
28 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698