2007-10-25 Mark Rowe <mrowe@apple.com>
authormrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 26 Oct 2007 06:36:35 +0000 (06:36 +0000)
committermrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 26 Oct 2007 06:36:35 +0000 (06:36 +0000)
        Reviewed by Maciej.

        Fix builds with code coverage enabled.

        * Scripts/build-webkit: Don't overwrite the existing value of OTHER_LDFLAGS.

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

WebKitTools/ChangeLog
WebKitTools/Scripts/build-webkit

index 5b73146491d9d829ca45ddff163c9d92e024a13d..5b6b70ec94f0a4f0e5c6e8a25e0e2492f93d5643 100644 (file)
@@ -1,3 +1,11 @@
+2007-10-25  Mark Rowe  <mrowe@apple.com>
+
+        Reviewed by Maciej.
+
+        Fix builds with code coverage enabled.
+
+        * Scripts/build-webkit: Don't overwrite the existing value of OTHER_LDFLAGS.
+
 2007-10-25  Darin Adler  <darin@apple.com>
 
         Reviewed by Mark Rowe.
index 577d09771f54ec37adb011e9efc29b588f59cd7a..7b4dfb33193b932d02824fa83999b7fce83cf139 100755 (executable)
@@ -97,7 +97,7 @@ if ($coverageSupport) {
     push @coverageSupportOption, "GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES";
     push @coverageSupportOption, "EXTRA_LINK= -ftest-coverage -fprofile-arcs";
     push @coverageSupportOption, "OTHER_CFLAGS= -MD";
-    push @coverageSupportOption, "OTHER_LDFLAGS= -ftest-coverage -fprofile-arcs -framework AppKit";
+    push @coverageSupportOption, "OTHER_LDFLAGS=\$(OTHER_LDFLAGS) -ftest-coverage -fprofile-arcs -framework AppKit";
 }
 
 # Check that all the project directories are there.