mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-27 04:18:42 +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:
1 parent
6cfb8a115e
commit
9e2556c7bf
1 file changed
+10
@@ -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 } {
|
||||
|
||||
Reference in new issue
Block a user