0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-02-22 22:47:51 +00:00
termux-packages/packages/sl/makefile.patch
TomIO 948b3810ec bump(main/sl): 5.05 (#20032)
* switch to updated branch
2024-05-06 02:40:25 +02:00

20 lines
363 B
Diff

diff --git a/Makefile b/Makefile
index 515b96d..a6e29a2 100644
--- a/Makefile
+++ b/Makefile
@@ -6,13 +6,10 @@
# Last Modified: 2019/03/19
#==========================================
-CC=gcc
-CFLAGS=-O3 -Wall
-
all: sl
sl: sl.c sl.h
- $(CC) $(CFLAGS) -o sl sl.c -lncurses
+ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o sl sl.c -lncurses
clean:
rm -f sl