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

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

Issue 150413008: Initial support for gambit-scheme v4.7.0 Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Add support for pnacl Created 6 years, 10 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 | « Makefile ('k') | ports/gambc/gambc-v4_7_0.sha1 » ('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 #!/bin/bash
2 # Copyright (c) 2011 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5
6 ConfigureStep() {
7 export BUILD_DIR=${NACL_PACKAGES_REPOSITORY}/${PACKAGE_DIR}
8 export NACL_CONFIGURE_PATH=./configure
9
10 if [ "${NACL_ARCH}" = "pnacl" ]; then
11 EXTRA_CONFIGURE_FLAGS=""
12 NACLPORTS_CFLAGS+=" -D___NOT_USE_LABEL_VALUES"
13 else
14 # Gambit compiling is extremely slow with this flag under LLVM.
15 EXTRA_CONFIGURE_FLAGS="--enable-single-host"
16 fi
17
18 if [ "${NACL_GLIBC}" != "1" ]; then
19 export LIBS=" -lglibc-compat"
20 else
21 # Gambit decides to use POSIX function only if waitpid exists.
22 export ac_cv_func_waitpid=yes
23 fi
24
25 DefaultConfigureStep --disable-debug ${EXTRA_CONFIGURE_FLAGS}
26 }
OLDNEW
« no previous file with comments | « Makefile ('k') | ports/gambc/gambc-v4_7_0.sha1 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698