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

Side by Side Diff: ports/libevent/build.sh

Issue 1289343005: Added Tor (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@pepper_44
Patch Set: contains modifications as per feedback and a bug fix 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
(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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698