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

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

Issue 1226403004: Added (libevent,tor) and modified glibc-compat (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Resolved critical issues in libevent 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
« no previous file with comments | « ports/libevent/README ('k') | ports/libevent/nacl.patch » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
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"
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"
23
24 DefaultConfigureStep
25 }
OLDNEW
« no previous file with comments | « ports/libevent/README ('k') | ports/libevent/nacl.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698