Fix ENV.m32 when LDFLAGS already exists
This commit is contained in:
parent
c5eb65332d
commit
7ec2874746
@ -183,11 +183,11 @@ module HomebrewEnvExtension
|
|||||||
|
|
||||||
def m64
|
def m64
|
||||||
append_to_cflags '-m64'
|
append_to_cflags '-m64'
|
||||||
ENV['LDFLAGS'] += '-arch x86_64'
|
ENV.append 'LDFLAGS', '-arch x86_64'
|
||||||
end
|
end
|
||||||
def m32
|
def m32
|
||||||
append_to_cflags '-m32'
|
append_to_cflags '-m32'
|
||||||
ENV['LDFLAGS'] += '-arch i386'
|
ENV.append 'LDFLAGS', '-arch i386'
|
||||||
end
|
end
|
||||||
|
|
||||||
# i386 and x86_64 only, no PPC
|
# i386 and x86_64 only, no PPC
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user