SHA256
6
0
forked from pool/libstfl
stfl/stfl-optflags.patch

13 lines
373 B
Diff

--- Makefile.orig 2008-08-21 01:21:17.000000000 +0200
+++ Makefile 2008-08-21 07:53:03.000000000 +0200
@@ -21,7 +21,8 @@
include Makefile.cfg
export CC = gcc -pthread
-export CFLAGS += -I. -Wall -Os -ggdb -D_GNU_SOURCE -fPIC
+export OPTFLAGS = -Os -ggdb
+export CFLAGS += -I. -Wall $(OPTFLAGS) -D_GNU_SOURCE -fPIC
export LDLIBS += -lncursesw
all: libstfl.a example