14 lines
688 B
Plaintext
14 lines
688 B
Plaintext
$OpenBSD: patch-source_rltiles_Makefile,v 1.1 2011/12/16 15:03:03 stsp Exp $
|
|
honour CFLAGS
|
|
--- source/rltiles/Makefile.orig Fri Dec 16 12:05:25 2011
|
|
+++ source/rltiles/Makefile Fri Dec 16 12:05:37 2011
|
|
@@ -10,7 +10,7 @@ SDL_LDFLAGS := $(shell sdl-config --libs 2> /dev/null
|
|
PNG_INCLUDE := $(shell pkg-config libpng --cflags 2> /dev/null || echo "-I../contrib/install/include")
|
|
PNG_LIB := $(shell pkg-config libpng --libs 2> /dev/null || echo "../contrib/install/lib/libpng.a ../contrib/install/lib/libz.a")
|
|
|
|
-CFLAGS := -O2 $(SDL_CFLAGS) $(PNG_INCLUDE)
|
|
+CFLAGS := $(SDL_CFLAGS) $(PNG_INCLUDE) $(CFLAGS)
|
|
LDFLAGS += $(SDL_LDFLAGS) $(PNG_LIB)
|
|
|
|
ifneq (,$(findstring MINGW,$(uname_S)))
|