$NetBSD: patch-bsnes_GNUmakefile,v 1.1 2020/10/03 08:40:56 nia Exp $ Honor CXXFLAGS/LDFLAGS. --- bsnes/GNUmakefile.orig 2020-03-03 10:56:48.000000000 +0000 +++ bsnes/GNUmakefile @@ -3,7 +3,8 @@ binary := application build := performance openmp := true local := true -flags += -I. -I.. +flags += $(CXXFLAGS) -I. -I.. +options += $(LDFLAGS) # in order for this to work, obj/lzma.o must be omitted or bsnes will hang on startup. # further, only the X-Video driver works reliably. OpenGL 3.2, OpenGL 2.0, and XShm crash bsnes.