Title: [165992] trunk/Source/WebCore
Revision
165992
Author
psola...@apple.com
Date
2014-03-20 13:30:46 -0700 (Thu, 20 Mar 2014)

Log Message

iOS build fix after r165979.

* generate-export-file:
(preprocessorMacros):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (165991 => 165992)


--- trunk/Source/WebCore/ChangeLog	2014-03-20 20:26:28 UTC (rev 165991)
+++ trunk/Source/WebCore/ChangeLog	2014-03-20 20:30:46 UTC (rev 165992)
@@ -1,3 +1,10 @@
+2014-03-20  Pratik Solanki  <psola...@apple.com>
+
+        iOS build fix after r165979.
+
+        * generate-export-file:
+        (preprocessorMacros):
+
 2014-03-20  David Hyatt  <hy...@apple.com>
 
         [New Multicolumn] getClientRects returns wrong rectangle

Modified: trunk/Source/WebCore/generate-export-file (165991 => 165992)


--- trunk/Source/WebCore/generate-export-file	2014-03-20 20:26:28 UTC (rev 165991)
+++ trunk/Source/WebCore/generate-export-file	2014-03-20 20:30:46 UTC (rev 165992)
@@ -96,6 +96,14 @@
     push(@args, "-I" . $ENV{BUILT_PRODUCTS_DIR} . $ENV{SDKROOT} . "/usr/local/include") if $ENV{BUILT_PRODUCTS_DIR};
     push(@args, "-I" . $ENV{SDKROOT} . "/usr/local/include");
 
+    chomp(my $sdk_version = `xcrun --sdk $ENV{SDKROOT} --show-sdk-version`);
+    if ($ENV{PLATFORM_NAME} eq "iphoneos") {
+        push(@args, "-miphoneos-min-version=" . $sdk_version);
+    }
+    if ($ENV{PLATFORM_NAME} eq "iphonesimulator") {
+        push(@args, "-mios-simulator-version-min=" . $sdk_version);
+    }
+
     # Print out #define lines for all macros.
     push(@args, qw(-dM /dev/null));
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to