diff options
author | bjarni <bjarni@openttd.org> | 2006-03-29 16:28:41 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2006-03-29 16:28:41 +0000 |
commit | f6662e056ddbf15463827b524a343b67dd5a3440 (patch) | |
tree | 1e4688cde558014e598671f4a0d212ecd112c4ce /window.h | |
parent | c2bb4a052efad837d80adff0211c8a1df15ca7db (diff) | |
download | openttd-f6662e056ddbf15463827b524a343b67dd5a3440.tar.xz |
(svn r4149) -Codechange: [OSX] rewrite of how universal binaries are compiled
Now OSX stores object files in .OSX and instead of making FAT object files, there are one for each architecture
Each architecture got their own targets to make a non-FAT binary and in the end, lipo will merge them into one binary
It's now possible to select which architectures you want to support by defining OTTD_PPC, OTTD_PPC970 (G5) and/or OTTD_i386
All combos are supported. UNIVERSAL_BINARY and TRIPLE_BINARY can still be used even though it's possible to gain the same result by using the new flags
Making a universal build when you already got part of it compiled (say the PPC part), it will reuse it and only compile the i386 part to save time
Note: in some cases when you switch flags, you risk that openttd is not updated. Delete it and try again. The Makefile can't solve this except if it forces linking each time
This fixes: FS#87 universal binary building borked in 0.4.7
Now universal binaries work on OSX 10.3.9 again
Building universal binaries no longer needs to store flags in Makefile.config as the new design makes it possible to figure everything out automatically
Diffstat (limited to 'window.h')
0 files changed, 0 insertions, 0 deletions