mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-13 14:51:18 +08:00
objc.exp (objc_target_compile): Check for -fgnu-runtime in ${options} instead of [target_info name].
2005-08-13 Andrew Pinski <pinskia@physics.uc.edu> * lib/objc.exp (objc_target_compile): Check for -fgnu-runtime in ${options} instead of [target_info name]. * lib/obj-c++.exp (objc_target_compile): Likewise. From-SVN: r103063
This commit is contained in:
parent
ffacdfa192
commit
4f5dce2b35
@ -1,3 +1,9 @@
|
||||
2005-08-13 Andrew Pinski <pinskia@physics.uc.edu>
|
||||
|
||||
* lib/objc.exp (objc_target_compile): Check for -fgnu-runtime
|
||||
in ${options} instead of [target_info name].
|
||||
* lib/obj-c++.exp (objc_target_compile): Likewise.
|
||||
|
||||
2005-08-13 Andrew Pinski <pinskia@physics.uc.edu>
|
||||
|
||||
* objc.dg/stubify-2.m: Correct the name of the rtl dump file.
|
||||
|
@ -306,8 +306,8 @@ proc obj-c++_target_compile { source dest type options } {
|
||||
|
||||
set libobjc_dir [lookfor_file ${objcpath} libobjc/.libs/libobjc.a]
|
||||
if { $libobjc_dir == ""} {
|
||||
verbose "see if we have -fgnu-runtime in [target_info name]"
|
||||
if [regexp ".*-fgnu-runtime.*" [target_info name]] {
|
||||
verbose "see if we have -fgnu-runtime in options"
|
||||
if [regexp ".*-fgnu-runtime.*" "${options}" ] {
|
||||
set libobjc_dir [lookfor_file ${objcpath} libobjc/.libs/libobjc-gnu.a]
|
||||
}
|
||||
}
|
||||
|
@ -159,8 +159,8 @@ proc objc_target_compile { source dest type options } {
|
||||
|
||||
set libobjc_dir [lookfor_file ${objcpath} libobjc/.libs/libobjc.a]
|
||||
if { $libobjc_dir == ""} {
|
||||
verbose "see if we have -fgnu-runtime in [target_info name]"
|
||||
if [regexp ".*-fgnu-runtime.*" [target_info name]] {
|
||||
verbose "see if we have -fgnu-runtime in options"
|
||||
if [regexp ".*-fgnu-runtime.*" "${options}"] {
|
||||
set libobjc_dir [lookfor_file ${objcpath} libobjc/.libs/libobjc-gnu.a]
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user