summaryrefslogtreecommitdiff
path: root/packaging/nacl/ports/sdl/build.sh
blob: ee30577d197bd0443e535ac3b16fd5c41d017729 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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.

EXTRA_CONFIGURE_ARGS="--disable-assembly --disable-pthread-sem"

AutogenStep() {
  ChangeDir ${SRC_DIR}
  # For some reason if we don't remove configure before running
  # autoconf it doesn't always get updates correctly.  About half
  # the time the old configure script (with no reference to nacl)
  # will remain after ./autogen.sh
  rm -f configure
  ./autogen.sh
  PatchConfigure
  PatchConfigSub
  cd -
}

ConfigureStep() {
  AutogenStep
  SetupCrossEnvironment
  DefaultConfigureStep
}