termux-packages/packages/sl/makefile.patch

14 lines
382 B
Diff
Raw Normal View History

2015-06-13 01:03:31 +02:00
diff -u -r ../sl-5.01/Makefile ./Makefile
--- ../sl-5.01/Makefile 2014-04-16 07:12:46.000000000 +0200
+++ ./Makefile 2014-07-01 07:29:30.000000000 +0200
@@ -6,8 +6,5 @@
# Last Modified: 2014/03/31
#==========================================
-CC=gcc
-CFLAGS=-O
-
sl: sl.c sl.h
- $(CC) $(CFLAGS) -o sl sl.c -lncurses
+ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o sl sl.c -lncurses