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

17 lines
449 B
Diff
Raw Normal View History

--- Makefile.orig 2010-06-25 00:59:31.000000000 +0200
+++ Makefile 2010-06-25 01:01:34.000000000 +0200
@@ -20,9 +20,10 @@
include Makefile.cfg
-export CC = gcc -pthread
-export CFLAGS += -I. -Wall -Os -ggdb -D_GNU_SOURCE -fPIC
-export LDLIBS += -lncursesw
+export CC = gcc
+OPTFLAGS=-Os -ggdb
+export CFLAGS += -pthread -I. -Wall -D_GNU_SOURCE -fPIC $(OPTFLAGS)
+export LDLIBS += -pthread -lncursesw
SONAME := libstfl.so.0
VERSION := 0.21