Bug 779259 - upgrade clang to r161022. r=rail.

Update the build script and set MACOSX_DEPLOYMENT_TARGET.
This commit is contained in:
Rafael Ávila de Espíndola 2012-08-01 10:15:33 -04:00
Родитель 45c94a3377
Коммит faaa1d734c
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -3,7 +3,7 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
llvm_revision = "160364"
llvm_revision = "161022"
moz_version = "moz0"
##############################################
@ -86,6 +86,8 @@ def build_one_stage_aux(stage_dir, is_stage_one):
build_package(llvm_source_dir, build_dir, configure_opts)
isDarwin = platform.system() == "Darwin"
if isDarwin:
os.environ['MACOSX_DEPLOYMENT_TARGET'] = '10.7'
if not os.path.exists(source_dir):
os.makedirs(source_dir)