build.sh 665 B

12345678910111213141516171819202122232425
  1. # Copyright (c) 2011 The Native Client Authors. All rights reserved.
  2. # Use of this source code is governed by a BSD-style license that can be
  3. # found in the LICENSE file.
  4. EXTRA_CONFIGURE_ARGS="--disable-assembly --disable-pthread-sem"
  5. AutogenStep() {
  6. ChangeDir ${SRC_DIR}
  7. # For some reason if we don't remove configure before running
  8. # autoconf it doesn't always get updates correctly. About half
  9. # the time the old configure script (with no reference to nacl)
  10. # will remain after ./autogen.sh
  11. rm -f configure
  12. ./autogen.sh
  13. PatchConfigure
  14. PatchConfigSub
  15. cd -
  16. }
  17. ConfigureStep() {
  18. AutogenStep
  19. SetupCrossEnvironment
  20. DefaultConfigureStep
  21. }