Index: ports/sdl2/build.sh |
diff --git a/ports/sdl2/build.sh b/ports/sdl2/build.sh |
index 5fe5e23f86f7e809898c4d1ae64a96f87682bc97..283538e4e701c81c6b1afe6994f8d001c230053c 100644 |
--- a/ports/sdl2/build.sh |
+++ b/ports/sdl2/build.sh |
@@ -21,17 +21,9 @@ ConfigureStep() { |
AutogenStep |
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-pnacl" |
- fi |
- |
LogExecute ${SRC_DIR}/configure \ |
- --host=${conf_host} \ |
+ --host=${CONF_HOST} \ |
+ --build=${CONF_BUILD} \ |
--prefix=${PREFIX} \ |
--disable-assembly \ |
--disable-pthread-sem |