aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
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)