Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
CPPFLAGS should only contain options that are used by the preprocessor, however pkg-config may return C/C++ specific options which are unrecognised by windres.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The attempts at making a more accurate auto-detection have been
postponed, so put the hardcoded enablers back for now.
|
|
More work is needed to make this function correctly with SDL on MinGW.
Reverting for now.
|
|
This should hopefully fix the problems caused by -Dmain=SDL_main in
the MinGW build.
|
|
When actually compiling things Makefile.common adds these variables to
the command line, so they should be there when testing if something
can be compiled as well, otherwise we could get both false negatives
and positives.
This fixes detection of zlib and MAD on Dreamcast, when installed in
$RONINDIR.
|
|
This override prevented the previous IOS7 commit to enable software
scalers on 2018-11-21 having any effect.
|
|
|
|
|
|
Remember if PKG_CONFIG_LIBDIR is set when running configure manually,
when automatically running configure, only set PKG_CONFIG_LIBDIR if it
was set during the manual run.
Fixes #10807.
|
|
So ASan does not print a leak report in the middle of the configure
output when it is enabled.
|
|
|
|
This is for an experiment aiming to decode audio for the hi-res
videos in Zork: Grand Inquisitor. I don't know if we want to add
a dependency on liba52, but the license should allow us to include
the code verbatim, if that's preferrable.
|
|
Correct a regression introduced in 7557f17ed2 which caused the Dreamcast
to hang at the license screen when running SCUMMVM.BIN from a CD.
7557f17ed2 fixed configure's feature detection by moving crt0.o from
LDFLAGS to LIBS, but that changed the linking order resulting in the
start symbol from crt0 being located at an address other than
0x8c010000. ELF binaries loaded over serial or TCP/IP were unaffected
(presumably because the loaders use the start address from the ELF
header instead of a fixed address) which is probably why this went
unnoticed.
This commit corrects the link order by moving crt0 back into LDFLAGS and
adds "-lronin -lm" to LDFLAGS to ensure that configure checks continue
to work.
|
|
Remove $LDFLAGS and $CXXFLAGS from cc_check call in translation support
check. Both variables are redundant because they are already expanded
in cc_check, and expanding LDFLAGS twice causes duplicate symbol errors
for targets that include crt0.o in LDFLAGS.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This should improve linker time as well as reduce the size of the
built binaries (though this does not affect runtime memory usage
since the debug segments are not loaded into memory except by a
debugger) whilst still giving debug information.
|
|
$(ronindir) and the explicit crt0 may have happened to work because
library detection state for libmad was forced, but it was always
breaking the feature detection of the build system. Now we can
compile to Dreamcast using the normal detection system.
|
|
|
|
|
|
|
|
|
|
As of freetype-2.9.1 the freetype-config script no longer gets installed
by default.
|
|
|
|
Previously, only CXX could be overridden by the environment, which
made it impossible to correctly set tools for cross-compiler
toolchains which were not compatible with the default system tools.
|
|
|
|
|
|
|
|
macOS' clang does not support this directive (yet), which
leads to tons of useless warnings
|
|
Clang 6 enables -Wpragma-pack which warns when leaving an included file
which changes the current alignment.
Our common/pack-{start,end}.h trigger this and it cannot easily and portably
be disabled inside pack-{start,end}.h so we disable it globally for now.
|
|
|
|
|
|
|
|
|
|
|
|
The OPL2LPT is an OPL2 chip plugged on a parallel port. It is
write-only but otherwise acts as a classic AdLib. This commit adds
support for this device.
User is expected to have the right permissions on the parallel
port. By default, the first suitable parallel port is used. It is
possible to override that with the hidden configuration setting
"opl2lpt_parport".
It depends on the presence of the libieee1284 library which abstracts
a bit parallel port handling. An alternative would be to access
directly /dev/parportX on Linux. This would amount of code but it
would be Linux-only.
Tested with Indy 3 and SOMI.
|