]> gcc.gnu.org Git - gcc.git/commitdiff
target-supports.exp (check_profiling_available): Report -p unavailable on *-*-mingw*.
authorJoseph Myers <joseph@codesourcery.com>
Tue, 26 Feb 2008 00:12:03 +0000 (00:12 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Tue, 26 Feb 2008 00:12:03 +0000 (00:12 +0000)
* lib/target-supports.exp (check_profiling_available): Report -p
unavailable on *-*-mingw*.

From-SVN: r132651

gcc/testsuite/ChangeLog
gcc/testsuite/lib/target-supports.exp

index db11e64a8a1b20ffe45c3bd8ff93a6e0de89a275..1e844e3baa8cdb678a70b5a063975185b50f23bc 100644 (file)
@@ -1,3 +1,8 @@
+2008-02-25  Joseph Myers  <joseph@codesourcery.com>
+
+       * lib/target-supports.exp (check_profiling_available): Report -p
+       unavailable on *-*-mingw*.
+
 2008-02-25  Joseph Myers  <joseph@codesourcery.com>
 
        * lib/target-supports.exp (check_effective_target_pthread_h): New.
index c43a37180c9e90d760d04512786c7e7a7e47f78b..20bcdeaee88fd44d5e28f409af65f89a2835152b 100644 (file)
@@ -410,6 +410,11 @@ proc check_profiling_available { test_what } {
        return 0
     }
 
+    # MinGW does not support -p.
+    if { [istarget *-*-mingw*] && [lindex $test_what 1] == "-p" } {
+       return 0
+    }
+
     # At present, there is no profiling support on NetWare.
     if { [istarget *-*-netware*] } {
        return 0
This page took 0.113487 seconds and 5 git commands to generate.