Fix compiling for X11 on non-86, this fixes #5444
(cherry picked from commit 9e751178eb
)
This commit is contained in:
parent
694120210a
commit
406daa8f7f
|
@ -206,5 +206,7 @@ def configure(env):
|
|||
if (env["use_static_cpp"]=="yes"):
|
||||
env.Append(LINKFLAGS=['-static-libstdc++'])
|
||||
|
||||
list_of_x86 = ['x86_64', 'x86', 'i386', 'i586']
|
||||
if any(platform.machine() in s for s in list_of_x86):
|
||||
env["x86_opt_gcc"]=True
|
||||
|
||||
|
|
Loading…
Reference in New Issue