mirror of
https://github.com/mirror/tinycc.git
synced 2025-01-01 04:20:09 +08:00
i386-win32-tcc fails to build a valid win32 executable if built
on x86_64 using --enable-cross. The easiest way to fix this is to put -m32 in the Makefile. Committer: Henry Kroll <henry@comptune.com> Committer: Henry Kroll <henry@comptune.com>
This commit is contained in:
parent
be7e339d8a
commit
4686236091
2
Makefile
2
Makefile
@ -129,7 +129,7 @@ tcc$(EXESUF): tcc.o libtcc.a
|
||||
|
||||
$(I386_CROSS): DEFINES = -DTCC_TARGET_I386
|
||||
$(X64_CROSS): DEFINES = -DTCC_TARGET_X86_64
|
||||
$(WIN32_CROSS): DEFINES = -DTCC_TARGET_I386 -DTCC_TARGET_PE
|
||||
$(WIN32_CROSS): DEFINES = -DTCC_TARGET_I386 -DTCC_TARGET_PE -m32
|
||||
$(WIN64_CROSS): DEFINES = -DTCC_TARGET_X86_64 -DTCC_TARGET_PE
|
||||
$(WINCE_CROSS): DEFINES = -DTCC_TARGET_PE
|
||||
$(C67_CROSS): DEFINES = -DTCC_TARGET_C67
|
||||
|
Loading…
Reference in New Issue
Block a user