* lib/target-supports.exp (check_profiling_available): Report -p
unavailable on *-*-mingw*.
From-SVN: r132651
+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.
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