Backout changeset c2b5cf7bde83 (bug 1488307) to give time to toolchains to build without blocking other landings.
authorMike Hommey <mh+mozilla@glandium.org>
Wed, 05 Sep 2018 06:46:42 +0900
changeset 482968 faba20592c04ce934cabf0284168733eb48baac0
parent 482967 c2b5cf7bde83db072fc206c24d1cab72354be727
child 482969 44a101e633e06d9af406f9adfd7bb6511a0a0e9e
push id232
push userfmarier@mozilla.com
push dateWed, 05 Sep 2018 20:45:54 +0000
bugs1488307
milestone63.0a1
backs outc2b5cf7bde83db072fc206c24d1cab72354be727
Backout changeset c2b5cf7bde83 (bug 1488307) to give time to toolchains to build without blocking other landings.
build/build-clang/build-clang.py
--- a/build/build-clang/build-clang.py
+++ b/build/build-clang/build-clang.py
@@ -212,18 +212,16 @@ def build_one_stage(cc, cxx, asm, ld, ar
             "-DCMAKE_BUILD_TYPE=%s" % build_type,
             "-DCMAKE_INSTALL_PREFIX=%s" % inst_dir,
             "-DLLVM_TARGETS_TO_BUILD=X86;ARM;AArch64",
             "-DLLVM_ENABLE_ASSERTIONS=%s" % ("ON" if assertions else "OFF"),
             "-DPYTHON_EXECUTABLE=%s" % slashify_path(python_path),
             "-DLLVM_TOOL_LIBCXX_BUILD=%s" % ("ON" if build_libcxx else "OFF"),
             "-DLIBCXX_LIBCPPABI_VERSION=\"\"",
         ]
-        if is_linux():
-            cmake_args += ["-DLLVM_BINUTILS_INCDIR=%s/include" % gcc_dir]
         if is_windows():
             cmake_args.insert(-1, "-DLLVM_EXPORT_SYMBOLS_FOR_PLUGINS=ON")
             cmake_args.insert(-1, "-DLLVM_USE_CRT_RELEASE=MT")
         if ranlib is not None:
             cmake_args += ["-DCMAKE_RANLIB=%s" % slashify_path(ranlib)]
         if libtool is not None:
             cmake_args += ["-DCMAKE_LIBTOOL=%s" % slashify_path(libtool)]
         if osx_cross_compile: