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

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: Created 5 years, 5 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 (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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698