pkgsrc/emulators/libretro-bsnes-mercury/patches/patch-Makefile
nia bda48d3375 libretro-bsnes-mercury{,-accuracy,-performance}: add version 20180803
Libretro is a simple but powerful development interface that allows for
the easy creation of emulators, games and multimedia applications that
can plug straight into any libretro-compatible frontend. This development
interface is open to others so that they can run these pluggable emulator
and game cores also in their own programs or devices.

bsnes/higan is a Super Nintendo Entertainment System / Super Famicom
video game system emulator that aims to document SNES/SFC hardware with
an extremely high degree of accuracy without compromise or optimisation.

bsnes-mercury is a fork of bsnes/higan aiming to restore some useful
features that have been removed, as well as improving performance
slightly. Maximum accuracy is still uncompromisable; anything that
affects accuracy is optional and off by default.

As such, it has quite high system requirements. For a SNES/SFC libretro
core that balances performance and accuracy to an acceptable level for
99% of games, consider using a snes9x core.

Three profiles are available: Performance, Balanced, and Accuracy.
Balanced is recommended for modern PCs. Use Accuracy for extreme cases
of hardware spec abuse (e.g. the game A.S.P. Air Strike Patrol).
2018-08-13 14:37:25 +00:00

20 lines
450 B
Text

$NetBSD: patch-Makefile,v 1.1 2018/08/13 14:37:25 nia Exp $
Honour CFLAGS/LDFLAGS.
--- Makefile.orig 2018-08-03 19:45:52.000000000 +0000
+++ Makefile
@@ -32,7 +32,7 @@ sfc_lagfix := 1
ifeq ($(DEBUG), 1)
flags := -I. -O0 -g
else
- flags := -I. -O3 -fomit-frame-pointer
+ flags := -I.
endif
cflags := $(CPPFLAGS) $(CFLAGS) -std=gnu99 -xc
@@ -146,3 +146,4 @@ ifneq ($(lto),)
flags += -flto
link += $(flags)
endif
+link += $(LDFLAGS)