summaryrefslogtreecommitdiff
path: root/packaging/nacl/ports/sdl/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/nacl/ports/sdl/build.sh')
-rw-r--r--packaging/nacl/ports/sdl/build.sh20
1 files changed, 2 insertions, 18 deletions
diff --git a/packaging/nacl/ports/sdl/build.sh b/packaging/nacl/ports/sdl/build.sh
index 036ec8ee6..ee30577d1 100644
--- a/packaging/nacl/ports/sdl/build.sh
+++ b/packaging/nacl/ports/sdl/build.sh
@@ -1,9 +1,8 @@
-#!/bin/bash
# Copyright (c) 2011 The Native Client Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-CONFIG_SUB=build-scripts/config.sub
+EXTRA_CONFIGURE_ARGS="--disable-assembly --disable-pthread-sem"
AutogenStep() {
ChangeDir ${SRC_DIR}
@@ -18,23 +17,8 @@ AutogenStep() {
cd -
}
-
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} \
- --prefix=${PREFIX} \
- --disable-assembly \
- --disable-pthread-sem
+ DefaultConfigureStep
}