Bug 793317 - Only enable the x86,x86_64 and arm targets. r=rail.
authorRafael Ávila de Espíndola <respindola@mozilla.org>
Mon, 01 Oct 2012 09:11:16 -0400
changeset 108756 4a83e0291d581cc077b9296fc6cbcf72323737d6
parent 108755 94526a90222e6c46c25723cda44d04625e8c4c2e
child 108757 447a46c78baca49cc51686aa6b2cffe2b5e2d441
push idunknown
push userunknown
push dateunknown
reviewersrail
bugs793317
milestone18.0a1
Bug 793317 - Only enable the x86,x86_64 and arm targets. r=rail.
build/unix/build-clang/build-clang.py
--- a/build/unix/build-clang/build-clang.py
+++ b/build/unix/build-clang/build-clang.py
@@ -102,16 +102,17 @@ isDarwin = platform.system() == "Darwin"
 
 def build_one_stage_aux(stage_dir, is_stage_one):
     os.mkdir(stage_dir)
 
     build_dir = stage_dir + "/build"
     inst_dir = stage_dir + "/clang"
 
     configure_opts = ["--enable-optimized",
+                      "--enable-targets=x86,x86_64,arm",
                       "--disable-assertions",
                       "--prefix=%s" % inst_dir,
                       "--with-gcc-toolchain=/tools/gcc-4.5-0moz3"]
     if is_stage_one and not isDarwin:
         configure_opts.append("--with-optimize-option=-O0")
 
     build_package(llvm_source_dir, build_dir, configure_opts)