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

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

Issue 544893003: Update libgit2 version from 0.20.0 to 0.21.1 (Closed) Base URL: https://naclports.googlecode.com/svn/trunk/src
Patch Set: Created 6 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « build_tools/XCompile-nacl.cmake ('k') | ports/libgit2/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
1 # Copyright (c) 2014 The Native Client Authors. All rights reserved. 1 # Copyright (c) 2014 The Native Client Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 EXECUTABLES="libgit2_clar"
6
7 if [ "${NACL_SHARED}" != "1" ]; then
8 EXTRA_CMAKE_ARGS="-DBUILD_SHARED_LIBS=OFF"
9 fi
10
5 if [ "${NACL_LIBC}" = "newlib" ]; then 11 if [ "${NACL_LIBC}" = "newlib" ]; then
6 EXTRA_CMAKE_ARGS="-DBUILD_SHARED_LIBS=OFF" 12 NACLPORTS_CPPFLAGS="-I${NACLPORTS_INCLUDE}/glibc-compat"
7 NACLPORTS_CPPFLAGS+=" -I${NACLPORTS_INCLUDE}/glibc-compat" 13 # newlib headers generate a lot of char-subscript warnings
14 # for macros such as tolower()
15 NACLPORTS_CPPFLAGS+=" -Wno-char-subscripts"
16 if [ "$NACL_ARCH" != "arm" ]; then
17 # Our x86 version of gcc generates a lot of strict aliasing
18 # warnings.
19 NACLPORTS_CPPFLAGS+=" -fno-strict-aliasing"
20 fi
8 fi 21 fi
OLDNEW
« no previous file with comments | « build_tools/XCompile-nacl.cmake ('k') | ports/libgit2/nacl.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698