unavailable on *-*-mingw*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132651
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
* gcc.dg/pthread-init-1.c, gcc.dg/pthread-init-2.c: Use
dg-require-effective-target pthread_h.
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