Commit 22da105b authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

winegcc: When specifying -m32, force i386 cpu when compiling on x86_64 boxes.

parent d4dfcc1f
...@@ -1257,6 +1257,8 @@ int main(int argc, char **argv) ...@@ -1257,6 +1257,8 @@ int main(int argc, char **argv)
opts.unicode_app = 1; opts.unicode_app = 1;
else if (strcmp("-m32", argv[i]) == 0) else if (strcmp("-m32", argv[i]) == 0)
{ {
if (opts.target_cpu == CPU_x86_64)
opts.target_cpu = CPU_x86;
opts.force_pointer_size = 4; opts.force_pointer_size = 4;
raw_linker_arg = 1; raw_linker_arg = 1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment