From b0d45b29bd91a76d1fc41a2aedd0cfe5238fd6da Mon Sep 17 00:00:00 2001
From: Misty De Meo <mistydemeo@gmail.com>
Date: Sun, 11 Aug 2013 19:13:16 -0700
Subject: [PATCH] Mach: add as_cmake_arch_flags helper

---
 Library/Homebrew/mach.rb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Library/Homebrew/mach.rb b/Library/Homebrew/mach.rb
index a2a87db469..d6870400fd 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)
-- 
GitLab