Age | Commit message (Collapse) | Author |
|
|
|
The mthumb linker flag was causing the libstdc++ library not to be found.
|
|
|
|
|
|
Most of these flags don't work with modern Android NDKs. The ones
that may, like setting sysroot and include directories, don't work
properly with standalone toolchains. Users compiling for Android
should make sure that they properly set up include paths in their
environment CXXFLAGS/LDFLAGS as needed for the compiler to run,
instead of relying on configure to do it, since configure can't do
it in a toolchain-agnostic manner.
|
|
|
|
Fixes the test with LTO enabled.
|
|
--disable-updates was omitted from the supported options during the
reformat.
|
|
|
|
|
|
|
|
There was already a configure option to specify a output format other
than plain text, but this had to be specified explicitely when
executing configure. Now the ports can define a default other than
plain text.
On macOS now by default pandoc generate html output. It could
in theory also generate rtf, but those are not properly displayed
by TextEdit, and in addition TextEdit cannot handle link internal
to the document (such as for the TOC). But if we are fine with
no link for the TOC, we could pipe the pandoc html output with
textutil to generate the RTF documents.
Also this change allows to have an extension for the pandoc output
files. By default this is empty for plain text (as before) and
the same as the format otherwise (for example .rtf or .html).
|
|
|
|
|
|
-O2 works, but the updated psp compiler doesn't compile
with -O3. It gives the error
```
graphics/macgui/macwindowmanager.cpp: In member function 'void Graphics::MacWindowManager::passPalette(const byte*, uint)':
graphics/macgui/macwindowmanager.cpp:517:1: error: unrecognizable insn:
}
^
(insn 139 138 140 23 (set (reg:SI 294)
(if_then_else:SI (ne:CC (reg:CC 67 $fcc0)
(const_int 0 [0]))
(reg/v:SI 256 [ di ])
(reg/v:SI 229 [ di ]))) -1
(nil))
graphics/macgui/macwindowmanager.cpp:517:1: internal compiler error: in extract_insn, at recog.c:2202
```
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|