mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-12-01 21:19:58 -05:00
Add methods to ArchitectureListExtension
This commit is contained in:
1 parent
3197e8ff49
commit
4f63836bb7
1 file changed
+9
@@ -145,6 +145,15 @@ module ArchitectureListExtension
|
||||
def universal?
|
||||
self.include? :i386 and self.include? :x86_64
|
||||
end
|
||||
|
||||
def remove_ppc!
|
||||
self.delete :ppc7400
|
||||
self.delete :ppc64
|
||||
end
|
||||
|
||||
def as_arch_flags
|
||||
self.collect{ |a| "-arch #{a}" }.join(' ')
|
||||
end
|
||||
end
|
||||
|
||||
# Returns array of architectures that the given command or library is built for.
|
||||
|
||||
Reference in new issue
Block a user