Index: ports/sdl-tests/build.sh |
diff --git a/ports/sdl-tests/build.sh b/ports/sdl-tests/build.sh |
index 9be3e3f9a1355321d2f5cbe004a8aea3d8b1c732..e1ba56bfd1c1b29c757c80aa2cda683ed20a6d51 100644 |
--- a/ports/sdl-tests/build.sh |
+++ b/ports/sdl-tests/build.sh |
@@ -3,24 +3,19 @@ |
# found in the LICENSE file. |
ConfigureStep() { |
+ Banner "Autogen ${PACKAGE_NAME}" |
pushd ${SRC_DIR}/test |
- ./autogen.sh |
+ LogExecute ./autogen.sh |
popd |
Banner "Configuring ${PACKAGE_NAME}" |
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 |
- |
- LIBS="$LDFLAGS" LogExecute ${SRC_DIR}/test/configure \ |
- --host=${conf_host} --prefix=${PREFIX} |
+ LIBS="$LDFLAGS" |
+ LogExecute ${SRC_DIR}/test/configure \ |
+ --host=${CONF_HOST} \ |
+ --build=${CONF_BUILD} \ |
+ --prefix=${PREFIX} |
} |
InstallStep() { |