SHA256
6
0
forked from pool/libstfl
stfl/stfl-optflags.patch
Adam Majer 37cdb642ba Accepting request 578218 from home:avindra
- update to 0.24
  * increased table MAX_ROWS and MAX_COLS
  * Added "process" variable
  * Added stfl_redraw API
  * Added example2
  * Fixed updating of "pos_name" in list widget
  * Added stfl_text() function
  * removed unimplemented stfl_lookup() function
  * Fixed compiler warning in wt_list.c
  * cosmetic changes in parser.c
- cleanup spec file with spec-cleaner
- rebase stfl-optflags.patch
  * version number removed from context for better reusability

OBS-URL: https://build.opensuse.org/request/show/578218
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libstfl?expand=0&rev=15
2018-02-20 10:50:24 +00:00

15 lines
357 B
Diff

--- Makefile.orig
+++ Makefile
@@ -21,7 +21,8 @@
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