Commit Graph

1131 Commits

Author SHA1 Message Date
Cameron Cawley
08314ae61f DREAMCAST: Fix compilation 2018-08-18 16:27:34 +02:00
Colin Snover
4fe84887cc BUILD: Update flags for compiling on FreeMiNT 2018-08-18 14:08:40 +02:00
Colin Snover
12cf08fa1c BUILD: Use normal host alias auto-prefixing for riscos and amigaos 2018-08-18 13:50:59 +02:00
Cameron Cawley
06446d36f5 VIDEO: More fixes when building with Theora and Tremor 2018-08-18 13:33:43 +02:00
Colin Snover
f0fe48d2f7 BUILD: List all used environmental variables in configure help 2018-08-18 13:33:03 +02:00
Colin Snover
ffff953685 BUILD: Use split-dwarf debug symbol files by default, when available
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.
2018-08-18 13:33:03 +02:00
Colin Snover
7557f17ed2 BUILD: Fix broken Dreamcast ronin handling & feature detection
$(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.
2018-08-18 13:32:14 +02:00
Colin Snover
c2f3532440 BUILD: Remove bogus comment 2018-08-18 09:28:56 +02:00
Colin Snover
be6963f9b8 BUILD: Enable Sparkle updates in release mode 2018-08-18 09:28:56 +02:00
Bastien Bouclet
172cdab90f BUILD: Save the PKG_CONFIG_LIBDIR environment variable across rebuilds 2018-08-04 07:55:23 +02:00
Bastien Bouclet
df613af817 BUILD: Check if pkg-config is available 2018-08-04 07:55:23 +02:00
Lars Wendler
2a0a5f4965 BUILD: Prefer pkg-config over freetype-config if possible
As of freetype-2.9.1 the freetype-config script no longer gets installed
by default.
2018-08-04 07:55:23 +02:00
Colin Snover
8cf2b8e31b BUILD: List all used environmental variables in configure help 2018-08-04 07:55:23 +02:00
Colin Snover
72791aaa23 BUILD: Respect all build tool overrides from environment
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.
2018-08-04 07:55:23 +02:00
Cameron Cawley
5cf3b75deb VIDEO: Fix Theora playback when building with Tremor 2018-08-03 14:52:09 +02:00
Adrian Frühwirth
ff220fffa5 CONFIGURE: Use -Wno-pragma-pack only when available 2018-07-08 11:57:39 +02:00
Adrian Frühwirth
fd612a537d CONFIGURE: Reword compiler flag checks 2018-07-08 11:46:03 +02:00
Eugene Sandulenko
31e8cb168e CONFIGURE: Do not add -Wno-pragma-pack on macOS
macOS' clang does not support this directive (yet), which
leads to tons of useless warnings
2018-07-07 16:41:38 +02:00
Adrian Frühwirth
42c8212713 CONFIGURE: Disable -Wpragma-pack for >=clang-6.0
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.
2018-07-06 09:54:39 +02:00
Adrian Frühwirth
3ed47e34a9 CONFIGURE: JANITORIAL: Fix indentation 2018-06-29 18:53:31 +02:00
Cameron Cawley
ae8b5dc086 RISCOS: Add a script to open the README file based on the system territory 2018-06-15 01:15:52 +01:00
Cameron Cawley
39ef9beaca CONFIGURE: Make Bink an engine dependency 2018-05-30 08:24:06 +01:00
Eugene Sandulenko
0a902f312e CONFIGURE: Revert unintended changes 2018-05-10 17:02:13 +02:00
Eugene Sandulenko
5b604e42e2 AGOS: Mark 25th Anniversary releases as MT-32 hack, not a fix 2018-05-10 16:59:53 +02:00
Vincent Bernat
9edd8eff01 AUDIO: add support for OPL2LPT
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.
2018-04-08 09:17:19 +02:00
Cameron Cawley
14c1651a11 DS: Use -isystem when adding include directories for portlibs 2018-04-07 22:12:18 +00:00
Cameron Cawley
fc00f80e7d JANITORIAL: Fix typo 2018-04-07 22:09:10 +00:00
Eugene Sandulenko
52fc7e34d8 CONFIGURE: Do not even try to build Nuked OPL when disabled 2018-04-07 12:22:18 +02:00
Eugene Sandulenko
ca73d36dc8 CONFIGURE: Add option to disable Nuked OPL and disable it on low-end platforms 2018-04-07 09:52:44 +02:00
Cameron Cawley
b3ccc1ce74 DS: Fix detection of external libraries 2018-04-07 09:30:07 +02:00
Cameron Cawley
7717b55e51 DS: Disable highres games by default 2018-04-07 09:30:07 +02:00
Cameron Cawley
9111998c49 DS: Fix compilation with devkitARM r47 2018-04-07 09:30:07 +02:00
Hubert Maier
9d491ddd7e CONFIGURE: Add a static builds switch
Configure will still build every target with shared objects by default.

Done:
- Added a configure switch (--enable-static) for static builds
- Right now only tested for SDL targets (checked working on AmigaOS4 with SDL1/2)

Missing:
- Add the platforms that need the switch for cross-compiling (macOS, iOS, probably more)
(I can´t do that myself as i have never cross-compiled and wouldn´t be able to check)
 
@csnover asked on the forums to create a PR for it, so, with my limited (non-existant is more like it) knowledge, i wrapped something up.
I *know* that it isn´t enough, as there already is some kind of static builds flag in configure (_engines_built_static). As i don´treally know if this is the same or a different cause (static plugins?), i´m not touching it.

But please feel free to add or change what needs to be done.
2018-03-12 11:48:51 +01:00
Bastien Bouclet
26f085d44b PS3: Enable the mt32 emulator
Either the newer munt, the newer toolchain or the better compiler flags
made it run well enough.
2018-02-04 21:52:33 +01:00
Bastien Bouclet
fc46db8263 PS3: Use -mno-fp-in-toc instead of -mminimal-toc
-mno-fp-in-toc is enough not to overflow the TOC. According to the GCC
documentation this allows for faster code to be generated than with
-mminimal-toc.
2018-02-04 21:37:24 +01:00
Cameron Cawley
8f8eb81b1b RISCOS: Don't list RISC OS as a POSIX platform 2018-01-26 13:18:18 +00:00
rsn8887
231407206d PSP: Use aspect correction checkbox instead of extra graphics modes 2018-01-03 14:14:36 -06:00
Bastien Bouclet
bb5e8d3a11
Merge pull request #1090 from bgK/remove-zaurus-yopy
PORTS: Remove the Zaurus and Yopy ports
2018-01-03 06:40:49 +01:00
rsn8887
dad10097b2 PSP2: compile with hid support (bluetooth kbd and mouse) 2017-12-23 00:30:31 -06:00
Bastien Bouclet
ca469f728b PORTS: Remove the Yopy PDA port
No official release was ever done for that platform. Production ceased
in 2005.
2017-12-19 07:37:08 +01:00
Thierry Crozat
4f1025378f BUILD: Check if posix_spawn is available in configure 2017-12-15 01:08:14 +00:00
Tarek Soliman
e9a2b7d898 MAEMO: Update host_alias 2017-12-07 01:05:11 -06:00
rsn8887
98147a6c08 PSP2: fix building with latest SDL2 for Vita 2017-12-02 05:31:31 -06:00
Cameron Cawley
5bcdc22f55 RISCOS: Attempt to reduce binary size 2017-11-28 22:31:28 +00:00
Colin Snover
9454c5c63d Revert "ANDROID: Stop disabling MT-32 emulator"
This reverts commit 2a22c16b91.

The old Buildbot (or maybe the build code's messing about with
LDFLAGS) seems to be broken and won't link successfully with the
std APIs, so this gets turned back off again until the new Buildbot
is active during the next release cycle.
2017-11-26 10:08:04 -06:00
Colin Snover
2a22c16b91 ANDROID: Stop disabling MT-32 emulator
Modern Android CPUs are more than powerful enough to emulate the
MT-32, and users are requesting its support.
2017-11-25 20:18:57 -06:00
Cameron Cawley
ddbfb8518b CONFIGURE: Only enable ARM assembly on older ARM hosts
Refs Trac#6132, Trac#6810, Trac#6957. Closes gh-1067.
2017-11-21 13:04:02 -06:00
Willem Jan Palenstijn
a416c98980 CONFIGURE: Handle freetype-config SYSROOT duplication in prefix
Since version 2.3.12, freetype-config adds SYSROOT to all paths.
If we pass a --prefix that already includes SYSROOT, this will return
a duplicate SYSROOT. This patch detects that and adjusts prefix
accordingly.
2017-10-29 00:05:51 +02:00
Willem Jan Palenstijn
0bcaf623aa CONFIGURE: Add missing --with-libcurl-prefix option 2017-10-29 00:05:51 +02:00
Willem Jan Palenstijn
bef5629519 CONFIGURE: Improve configure help formatting consistency 2017-10-29 00:05:51 +02:00