File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 11if not " X86" in config.root.targets:
22 config.unsupported = True
33
4- flags = " --target=x86_64-unknown-linux-gnu -nostdlib"
4+ flags = " --target=x86_64-unknown-linux-gnu -nostdlib -mllvm -x86-asm-syntax=att "
55
66config.substitutions.insert(0, (" %cflags" , f" %cflags {flags}" ))
77config.substitutions.insert(0, (" %cxxflags" , f" %cxxflags {flags}" ))
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ if not "linux" in host_triple:
55 host_triple = host_triple.split(" -" )[0] + " -unknown-linux-gnu"
66
77common_linker_flags = " -fuse-ld=lld -Wl,--unresolved-symbols=ignore-all -Wl,--build-id=none -pie"
8- flags = f" --target={host_triple} -fPIE {common_linker_flags} -mllvm -x86-asm-syntax=att "
8+ flags = f" --target={host_triple} -fPIE {common_linker_flags}"
99
1010config.substitutions.insert(0, (" %cflags" , f" %cflags {flags}" ))
1111config.substitutions.insert(0, (" %cxxflags" , f" %cxxflags {flags}" ))
You can’t perform that action at this time.
0 commit comments