Bug 1262735 - Fix the path to build-gcc used by build-clang. r?ehsan draft
authorMike Hommey <mh+mozilla@glandium.org>
Thu, 07 Apr 2016 16:15:41 +0900
changeset 349602 9d5f4357199162eabb03dca2f78aeca0ec901ea0
parent 349601 52f961bd3c8f8d16b86761218fa2bf92007e90d3
child 349603 459850ec13a75aa3ff569503419e71087ee27b62
push id15145
push userbmo:mh+mozilla@glandium.org
push dateTue, 12 Apr 2016 01:01:37 +0000
reviewersehsan
bugs1262735
milestone48.0a1
Bug 1262735 - Fix the path to build-gcc used by build-clang. r?ehsan
build/build-clang/build-clang.py
--- a/build/build-clang/build-clang.py
+++ b/build/build-clang/build-clang.py
@@ -113,17 +113,17 @@ def mkdir_p(path):
         if e.errno != errno.EEXIST or not os.path.isdir(path):
             raise
 
 
 def build_and_use_libgcc(env, clang_dir):
     with updated_env(env):
         tempdir = tempfile.mkdtemp()
         gcc_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)),
-                               "..", "build-gcc")
+                               "..", "unix", "build-gcc")
         run_in(gcc_dir, ["./build-gcc.sh", tempdir, "libgcc"])
         run_in(tempdir, ["tar", "-xf", "gcc.tar.xz"])
         libgcc_dir = glob.glob(os.path.join(tempdir,
                                             "gcc", "lib", "gcc",
                                             "x86_64-unknown-linux-gnu",
                                             "[0-9]*"))[0]
         clang_lib_dir = os.path.join(clang_dir, "lib", "gcc",
                                      "x86_64-unknown-linux-gnu",