Skip to content
Snippets Groups Projects
Commit 43f77f6a authored by Adam Vandenberg's avatar Adam Vandenberg
Browse files

Add methods to ArchitectureListExtension

parent 8b4645d8
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment