mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-31 09:32:11 +00:00
Add llvm_supports_darwin_and_target to DejaGNU as well, I'd almost forgotten it
ever existed. :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95230 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6cfb8a115e
commit
9e2556c7bf
@ -301,6 +301,16 @@ proc llvm_supports_target { tgtName } {
|
||||
return 0
|
||||
}
|
||||
|
||||
proc llvm_supports_darwin_and_target { tgtName } {
|
||||
global target_triplet
|
||||
if { [ llvm_supports_target $tgtName ] } {
|
||||
if { [regexp darwin $target_triplet match] } {
|
||||
return 1
|
||||
}
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
# This procedure provides an interface to check the BINDINGS_TO_BUILD makefile
|
||||
# variable to see if a particular binding has been configured to build.
|
||||
proc llvm_supports_binding { name } {
|
||||
|
Loading…
Reference in New Issue
Block a user