OLD | NEW |
---|---|
(Empty) | |
1 # Copyright (c) 2015 The Native Client Authors. All rights reserved. | |
Sam Clegg
2015/07/16 00:26:30
nit: drop the (c)
| |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 # following flag are needed only if you want to run samples in devenv | |
6 NACLPORTS_CPPFLAGS+=" -Dmain=nacl_main" | |
7 export LIBS="${NACL_CLI_MAIN_LIB}" | |
8 | |
9 | |
10 ConfigureStep() { | |
11 if [ "${NACL_LIBC}" = "newlib" ]; then | |
12 NACLPORTS_CPPFLAGS+=" -I${NACLPORTS_INCLUDE}/glibc-compat" | |
13 export LIBS+=" -lglibc-compat" | |
14 # setitimer and getitimer not available in newlib, no plan to implement them | |
15 #TODO(dt) remove this flag once this issue is sorted. | |
16 EXTRA_CONFIGURE_ARGS+=" --disable-libevent-regress " | |
Sam Clegg
2015/07/16 00:26:30
nit: drop the trailing space
| |
17 fi | |
18 | |
19 # This flag is not required when NACL_SHARED != 0[default] | |
20 # however if you come across any problem while static linking, | |
21 # uncomment following line and try again | |
22 # EXTRA_CONFIGURE_ARGS+=" --enable-shared=no --enable-static=yes" | |
Sam Clegg
2015/07/16 00:26:29
nit: indent these commented out lines too.
Do you
| |
23 | |
24 DefaultConfigureStep | |
25 } | |
OLD | NEW |