slackbuilds_ponce/libraries/stfl/allow-custom-opts-in-Makefile.patch
Benjamin Trigona-Harany 88b755335e libraries/stfl: Updated for version 0.22.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
2012-05-21 17:58:13 -05:00

13 lines
434 B
Diff

diff -Nur stfl-0.22.orig//Makefile stfl-0.22/Makefile
--- stfl-0.22.orig//Makefile 2009-06-19 12:30:52.000000000 -0500
+++ stfl-0.22/Makefile 2011-01-11 22:21:10.623044411 -0600
@@ -21,7 +21,8 @@
include Makefile.cfg
export CC = gcc -pthread
-export CFLAGS += -I. -Wall -Os -ggdb -D_GNU_SOURCE -fPIC
+OPTS = -Os
+export CFLAGS += -I. -Wall $(OPTS) -ggdb -D_GNU_SOURCE -fPIC
export LDLIBS += -lncursesw
SONAME := libstfl.so.0