summaryrefslogtreecommitdiff
path: root/emulators/x16-emulator/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/x16-emulator/files/patch-Makefile')
-rw-r--r--emulators/x16-emulator/files/patch-Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/emulators/x16-emulator/files/patch-Makefile b/emulators/x16-emulator/files/patch-Makefile
new file mode 100644
index 000000000000..c55b0b18ee02
--- /dev/null
+++ b/emulators/x16-emulator/files/patch-Makefile
@@ -0,0 +1,13 @@
+--- Makefile.orig 2020-01-03 23:42:34 UTC
++++ Makefile
+@@ -10,8 +10,8 @@ else
+ SDL2CONFIG=sdl2-config
+ endif
+
+-CFLAGS=-std=c99 -O3 -Wall -Werror -g $(shell $(SDL2CONFIG) --cflags) -Iextern/include -Iextern/src
+-LDFLAGS=$(shell $(SDL2CONFIG) --libs) -lm
++CFLAGS += $(shell $(SDL2CONFIG) --cflags) -Iextern/include -Iextern/src
++LDFLAGS += $(shell $(SDL2CONFIG) --libs) -lm
+
+ OUTPUT=x16emu
+