diff options
| author | Misty De Meo | 2013-08-11 19:13:16 -0700 |
|---|---|---|
| committer | Misty De Meo | 2013-08-15 22:46:56 -0700 |
| commit | 2db0b6adf180a17f7015c7da2794d7355b29d0d5 (patch) | |
| tree | 1131ae8825fa9eb3f9269158a5645bf2b4eae9da /Library | |
| parent | 1470fd3f0f992ad2dd14d173710b630cf64a9b80 (diff) | |
| download | homebrew-2db0b6adf180a17f7015c7da2794d7355b29d0d5.tar.bz2 | |
Mach: add as_cmake_arch_flags helper
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/mach.rb | 4 |
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) |
