ejabberd: simplify arch flag manipulation
This commit is contained in:
parent
7970f39573
commit
29f86e63a2
1 changed files with 1 additions and 4 deletions
|
@ -30,10 +30,7 @@ class Ejabberd < Formula
|
|||
ENV["HOMEBREW_ARCHFLAGS"] = " "
|
||||
|
||||
if build.build_32_bit?
|
||||
%w{ CFLAGS LDFLAGS }.each do |compiler_flag|
|
||||
ENV.remove compiler_flag, "-arch #{Hardware::CPU.arch_64_bit}"
|
||||
ENV.append compiler_flag, "-arch #{Hardware::CPU.arch_32_bit}"
|
||||
end
|
||||
ENV.append %w{CFLAGS LDFLAGS}, "-arch #{Hardware::CPU.arch_32_bit}"
|
||||
end
|
||||
|
||||
args = ["--prefix=#{prefix}",
|
||||
|
|
Loading…
Reference in a new issue