Details

When compiling with LTO enabled (--enable-lto), GCC (-fwhole-program) changes all external symbols into static, except of the 'main' function. This causes some missing symbols when linking Windows builds of OpenTTD (e.g. with MinGW):