mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-04-14 23:58:26 +02:00
Don't try to include x86 assembly into non-x86 based platforms when cross compiling the x11 platform on x86.
This commit is contained in:
parent
138ca10b6d
commit
6f4a778796
@ -289,8 +289,12 @@ def configure(env):
|
|||||||
env.ParseConfig("pkg-config theora theoradec --cflags --libs")
|
env.ParseConfig("pkg-config theora theoradec --cflags --libs")
|
||||||
else:
|
else:
|
||||||
list_of_x86 = ["x86_64", "x86", "i386", "i586"]
|
list_of_x86 = ["x86_64", "x86", "i386", "i586"]
|
||||||
if any(platform.machine() in s for s in list_of_x86):
|
if env["arch"] == "":
|
||||||
env["x86_libtheora_opt_gcc"] = True
|
if any(platform.machine() in s for s in list_of_x86):
|
||||||
|
env["x86_libtheora_opt_gcc"] = True
|
||||||
|
else:
|
||||||
|
if any(env["arch"] in s for s in list_of_x86):
|
||||||
|
env["x86_libtheora_opt_gcc"] = True
|
||||||
|
|
||||||
if not env["builtin_libvorbis"]:
|
if not env["builtin_libvorbis"]:
|
||||||
env["builtin_libogg"] = False # Needed to link against system libvorbis
|
env["builtin_libogg"] = False # Needed to link against system libvorbis
|
||||||
|
Loading…
Reference in New Issue
Block a user