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

Unified Diff: ports/dosbox/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 | « build_tools/common.sh ('k') | ports/ruby/build.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/dosbox/build.sh
diff --git a/ports/dosbox/build.sh b/ports/dosbox/build.sh
index 63873c0e5825ccd32a833e32899f0ee89586b72e..4ba337d68842976e899f7b43ad8dbf4fbb8179df 100644
--- a/ports/dosbox/build.sh
+++ b/ports/dosbox/build.sh
@@ -8,16 +8,7 @@ MAKE_TARGETS="AR=${NACLAR}"
ConfigureStep() {
SetupCrossEnvironment
- 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
-
- CONFIG_FLAGS="--host=${conf_host} \
+ CONFIG_FLAGS="--host=${CONF_HOST} --build=${CONF_BUILD} \
--prefix=${PREFIX} \
--with-sdl-prefix=${NACL_TOOLCHAIN_ROOT} \
--disable-shared \
« no previous file with comments | « build_tools/common.sh ('k') | ports/ruby/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698