1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-22 16:00:36 +02:00
openwrt-packages/dega/patches/001-fix-compile-in-openwrt.patch
kyak 8fdcc462a7 dega: fix build
It builds fine, but doesn't work for me -\ Always shows blank screen
2011-05-29 18:59:19 +04:00

14 lines
490 B
Diff

diff --git a/Makefile b/Makefile
index 1d3265d..5211c5c 100755
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ CC?=gcc
#CXX=g++
#CXX=icpc
-CFLAGS= $(CFLAGS) $(OPTFLAGS) $(shell sdl-config --cflags) -Imast -Iz80
+CFLAGS:= $(CFLAGS) $(OPTFLAGS) $(shell sdl-config --cflags) -Imast -Iz80
Z80OBJ = z80/z80.o
MASTOBJ = mast/area.o mast/dpsg.o mast/draw.o mast/emu2413.o mast/frame.o mast/load.o mast/map.o mast/mast.o mast/mem.o mast/samp.o mast/snd.o mast/vgm.o mast/state.o mast/setup.o