OLD | NEW |
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 } | |
OLD | NEW |