aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMisty De Meo2013-08-11 19:13:16 -0700
committerMisty De Meo2013-08-15 22:46:56 -0700
commitb0d45b29bd91a76d1fc41a2aedd0cfe5238fd6da (patch)
tree648ceacc92535a9f61335ab233f7a6ac4badfec3 /Library/Homebrew
parentab633864d5db641d27fdce49c7c66074b931b19d (diff)
downloadbrew-b0d45b29bd91a76d1fc41a2aedd0cfe5238fd6da.tar.bz2
Mach: add as_cmake_arch_flags helper
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/mach.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/mach.rb b/Library/Homebrew/mach.rb
index a2a87db46..d6870400f 100644
--- a/Library/Homebrew/mach.rb
+++ b/Library/Homebrew/mach.rb
@@ -32,6 +32,10 @@ module ArchitectureListExtension
self.collect{ |a| "-arch #{a}" }.join(' ')
end
+ def as_cmake_arch_flags
+ self.join(';')
+ end
+
protected
def intersects_all?(*set)