ENV.m32
This commit is contained in:
parent
6de6bffd55
commit
03f37bef79
@ -180,11 +180,16 @@ module HomebrewEnvExtension
|
|||||||
def cxx
|
def cxx
|
||||||
ENV['cxx'] or "g++"
|
ENV['cxx'] or "g++"
|
||||||
end
|
end
|
||||||
# in case you need it
|
|
||||||
def m64
|
def m64
|
||||||
append_to_cflags '-m64'
|
append_to_cflags '-m64'
|
||||||
ENV['LDFLAGS'] += '-arch x86_64'
|
ENV['LDFLAGS'] += '-arch x86_64'
|
||||||
end
|
end
|
||||||
|
def m32
|
||||||
|
append_to_cflags '-m32'
|
||||||
|
ENV['LDFLAGS'] += '-arch i386'
|
||||||
|
end
|
||||||
|
|
||||||
# i386 and x86_64 only, no PPC
|
# i386 and x86_64 only, no PPC
|
||||||
def universal_binary
|
def universal_binary
|
||||||
append_to_cflags '-arch i386 -arch x86_64'
|
append_to_cflags '-arch i386 -arch x86_64'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user