Linux: Don't hardcode i386 lib paths when cross-compiling, unnecessary
This commit is contained in:
committed by
Rémi Verschelde
parent
83e2c6dd6d
commit
1ddcab6312
@ -239,10 +239,10 @@ def configure(env):
|
||||
|
||||
if (is64 and env["bits"] == "32"):
|
||||
env.Append(CPPFLAGS=['-m32'])
|
||||
env.Append(LINKFLAGS=['-m32', '-L/usr/lib/i386-linux-gnu'])
|
||||
env.Append(LINKFLAGS=['-m32'])
|
||||
elif (not is64 and env["bits"] == "64"):
|
||||
env.Append(CPPFLAGS=['-m64'])
|
||||
env.Append(LINKFLAGS=['-m64', '-L/usr/lib/i686-linux-gnu'])
|
||||
env.Append(LINKFLAGS=['-m64'])
|
||||
|
||||
import methods
|
||||
|
||||
|
||||
Reference in New Issue
Block a user