Age | Commit message (Collapse) | Author |
|
This should help to reduce the size of the main executable.
|
|
an engine feature
|
|
|
|
|
|
|
|
|
|
OpenGL works when enabled from the start in scummvm.ini,
when ScummVM is compiled with latest Switch toolchain packages.
It only crashes when switching between SDL modes and OpenGL while
ScummVM is running.
|
|
GLES2 crashes when switching between SDL2 graphics and OpenGL
graphics. This is a known problem on the platform due to the
implementation of GLES2, it crashes on de-init.
|
|
|
|
|
|
|
|
|
|
This patch silences the warnings about the (outdated?) 'u'
flag that appears at least when building and linking ScummVM
statically on mingw32:
"`u' modifier ignored since `D' is the default (see `U')"
The cause for this appears to be a bug in recent versions of
libtool that most likely will also appear when building on
Linux. However, since I have not tested this yet, this patch
only disables it for mingw32.
The only downside from this patch is that building a non-clean
build will take (slightly?) longer since we are no longer
just updating (that's what the 'u' is for) changed libraries
during the linking stage, but linking all .a files again.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|