Fix build when the script is called from Xcode.
authorfpizlo@apple.com <fpizlo@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 5 Feb 2014 03:20:49 +0000 (03:20 +0000)
committerfpizlo@apple.com <fpizlo@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 5 Feb 2014 03:20:49 +0000 (03:20 +0000)
* Scripts/copy-webkitlibraries-to-product-directory:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@163423 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/Scripts/copy-webkitlibraries-to-product-directory

index fbd3953..c3f9622 100644 (file)
@@ -1,5 +1,11 @@
 2014-02-04  Filip Pizlo  <fpizlo@apple.com>
 
+        Fix build when the script is called from Xcode.
+
+        * Scripts/copy-webkitlibraries-to-product-directory:
+
+2014-02-04  Filip Pizlo  <fpizlo@apple.com>
+
         DFG PutByVal on typed arrays should detect OutOfBounds sooner
         https://bugs.webkit.org/show_bug.cgi?id=128162
 
index 03bee70..de1750e 100755 (executable)
@@ -182,7 +182,7 @@ if ($llvm) {
 
         print("Building LLVM.\n");
         chdir $ownLLVMDirectory;
-        (system("make -j `sysctl -n hw.activecpu`") == 0) or die;
+        (system("(unset PROJECT_NAME ; make -j `sysctl -n hw.activecpu`)") == 0) or die;
         chdirWebKit();
         
         my $ownLLVMBuildMode = "";