OLD | NEW |
---|---|
(Empty) | |
1 # Copyright 2015 The Native Client Authors. All rights reserved. | |
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 -lppapi_simple -lnacl_io -lppapi -l${NACL_CXX_LIB}" | |
Sam Clegg
2015/08/25 18:25:30
You only need NACL_CLI_MAIN_LIB.. that other are a
| |
9 | |
10 | |
11 ConfigureStep() { | |
12 if [ "${NACL_LIBC}" = "newlib" ]; then | |
13 NACLPORTS_CPPFLAGS+=" -I${NACLPORTS_INCLUDE}/glibc-compat" | |
14 export LIBS+=" -lglibc-compat" | |
15 # setitimer and getitimer not available in newlib, no plan to implement them | |
16 #TODO(dt) remove this flag once this issue is sorted. | |
17 EXTRA_CONFIGURE_ARGS+=" --disable-libevent-regress" | |
18 fi | |
19 | |
20 # This flag is not required when NACL_SHARED != 0[default] | |
21 # however if you come across any problem while static linking, | |
22 # uncomment following line and try again | |
23 # EXTRA_CONFIGURE_ARGS+=" --enable-shared=no --enable-static=yes" | |
24 | |
25 DefaultConfigureStep | |
26 } | |
OLD | NEW |