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

Unified Diff: ports/ruby/build.sh

Issue 1435953002: Consistent --host and --build arguments to configure (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Created 5 years 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/dosbox/build.sh ('k') | ports/samba/build.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/ruby/build.sh
diff --git a/ports/ruby/build.sh b/ports/ruby/build.sh
index 10a01f3e7f7e76c4f9d63077d3aaac21ca0b5f71..16740d3d8548d49b32aafa1714c01f1b560d1fbd 100644
--- a/ports/ruby/build.sh
+++ b/ports/ruby/build.sh
@@ -32,18 +32,10 @@ ConfigureStep() {
EXTRA_CONFIGURE_ARGS+=" --with-out-ext=openssl,digest/*"
fi
- local conf_host=${NACL_CROSS_PREFIX}
- if [ ${NACL_ARCH} = "pnacl" ]; then
- # The PNaCl tools use "pnacl-" as the prefix, but config.sub
- # does not know about "pnacl". It only knows about "le32-nacl".
- # Unfortunately, most of the config.subs here are so old that
- # it doesn't know about that "le32" either. So we just say "nacl".
- conf_host="nacl"
- fi
-
SetupCrossEnvironment
LogExecute ${SRC_DIR}/configure \
- --host=${conf_host} \
+ --host=${CONF_HOST} \
+ --build=${CONF_BUILD} \
--prefix=/ \
--with-baseruby=${HOST_BUILD}/inst/bin/ruby \
--with-http=no \
« no previous file with comments | « ports/dosbox/build.sh ('k') | ports/samba/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698