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

Unified Diff: ports/apr/build.sh

Issue 139153007: Add pnacl + newlib support to apr and apr-util. (Closed) Base URL: https://naclports.googlecode.com/svn/trunk/src
Patch Set: rebase Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ports/apr-util/pkg_info ('k') | ports/apr/nacl.patch » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/apr/build.sh
diff --git a/ports/apr/build.sh b/ports/apr/build.sh
index aa85df0cc2560f57c433811ceed6763d28af8a29..31e9ee01458a78b0569f4426d106ab83cda9b5f0 100755
--- a/ports/apr/build.sh
+++ b/ports/apr/build.sh
@@ -3,8 +3,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-export RUNPROGRAM="${NACL_SEL_LDR} -a -B ${NACL_IRT} --"
-RUNPROGRAM+=" ${NACL_SDK_LIB}/runnable-ld.so"
-RUNPROGRAM+=" --library-path"
-RUNPROGRAM+=" ${NACL_SDK_LIBDIR}:${NACL_SDK_LIB}:${NACLPORTS_LIBDIR}"
-export NACL_SEL_LDR
+if [ "${NACL_GLIBC}" != "1" ]; then
+ readonly GLIBC_COMPAT=${NACLPORTS_INCLUDE}/glibc-compat
+ NACLPORTS_CFLAGS+=" -I${GLIBC_COMPAT}"
+ EXTRA_CONFIGURE_ARGS="--disable-dso"
+fi
« no previous file with comments | « ports/apr-util/pkg_info ('k') | ports/apr/nacl.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698