Root/gmu/patches/000-do-not-override.patch

1--- a/nanonote.mk
2+++ b/nanonote.mk
3@@ -19,11 +19,7 @@ DECODERS_TO_BUILD=decoders/vorbis.so dec
4 FRONTENDS_TO_BUILD=frontends/sdl.so frontends/log.so
5 SDL_LIB=-lSDL -lpthread -ldirectfb -ldirect -lfusion -lz
6 SDL_CFLAGS=-D_GNU_SOURCE=1 -D_REENTRANT
7-CXX=mipsel-openwrt-linux-g++
8-CC=mipsel-openwrt-linux-gcc
9-STRIP=mipsel-openwrt-linux-strip
10-TOOLCHAIN_ROOT_PATH=$(shell which $(CC)|sed 's/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1\/usr\/bin\/$(CC)//')
11 COPTS?=-O2 -s
12-CFLAGS=-msoft-float -I$(TOOLCHAIN_ROOT_PATH)/target-mipsel_uClibc-0.9.30.1/usr/include/SDL -I$(TOOLCHAIN_ROOT_PATH)/target-mipsel_uClibc-0.9.30.1/usr/include -ffast-math -fomit-frame-pointer $(SDL_CFLAGS) -DFILE_HW_H="\"hw_$(TARGET).h\""
13-LFLAGS=-s -L$(TOOLCHAIN_ROOT_PATH)/target-mipsel_uClibc-0.9.30.1/usr/lib -L$(TOOLCHAIN_ROOT_PATH)/target-mipsel_uClibc-0.9.30.1/root-xburst/usr/lib -lpthread -lm -ldl -lgcc -Wl,-export-dynamic
14+CFLAGS+=-msoft-float -ffast-math -fomit-frame-pointer $(SDL_CFLAGS) -DFILE_HW_H="\"hw_$(TARGET).h\""
15+LFLAGS=$(LDFLAGS) -s $(SDL_LIB) -lpthread -lm -ldl -lgcc -Wl,-export-dynamic
16 DISTFILES=$(BINARY) frontends decoders themes gmu.png README.txt libs.nanonote gmu.nn COPYING gmuinput.nanonote.conf gmu.bmp
17

Archive Download this file



interactive