~mdw
/
termux-packages
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gdb: Update from 7.12.1 to 8.0
[termux-packages]
/
packages
/
picolisp
/
src-Makefile.patch
diff --git
a/packages/picolisp/src-Makefile.patch
b/packages/picolisp/src-Makefile.patch
index
ac3a148
..
0a3b40c
100644
(file)
--- a/
packages/picolisp/src-Makefile.patch
+++ b/
packages/picolisp/src-Makefile.patch
@@
-1,14
+1,14
@@
diff -u -r ../picoLisp/src/Makefile ./src/Makefile
diff -u -r ../picoLisp/src/Makefile ./src/Makefile
---- ../picoLisp/src/Makefile 201
5-03-31 14:48:22.000000000 -04
00
-+++ ./src/Makefile 201
5-09-24 05:23:56.372236679 -04
00
-@@ -6,11
1 +6,13
@@
+--- ../picoLisp/src/Makefile 201
7-07-06 14:35:21.000000000 +02
00
++++ ./src/Makefile 201
7-07-10 01:13:20.897855727 +02
00
+@@ -6,11
8 +6,14
@@
picoFiles = main.c gc.c apply.c flow.c sym.c subr.c big.c io.c net.c tab.c
-CC = gcc
# CCLD is the cc (compiler frontend) to use for the link step.
-CCLD = gcc
picoFiles = main.c gc.c apply.c flow.c sym.c subr.c big.c io.c net.c tab.c
-CC = gcc
# CCLD is the cc (compiler frontend) to use for the link step.
-CCLD = gcc
--
+
-CFLAGS = -c -O2 -pipe \
- -falign-functions=32 -fomit-frame-pointer -fno-strict-aliasing \
- -W -Wimplicit -Wreturn-type -Wunused -Wformat \
-CFLAGS = -c -O2 -pipe \
- -falign-functions=32 -fomit-frame-pointer -fno-strict-aliasing \
- -W -Wimplicit -Wreturn-type -Wunused -Wformat \
@@
-90,7
+90,13
@@
diff -u -r ../picoLisp/src/Makefile ./src/Makefile
- LCRYPT =
- STRIP = strip
-else
- LCRYPT =
- STRIP = strip
-else
--ifeq ($(shell uname -o), Cygwin)
+-ifeq ($(shell uname), IRIX64)
+- OS = IRIX64
+- CFLAGS += -std=gnu99
+- DYNAMIC-LIB-FLAGS = -shared
+- STRIP = strip -f
+-else
+-ifeq ($(shell uname -o | egrep -q "Cygwin|Msys" ; echo $$?), 0)
- OS = Cygwin
- CFLAGS += -m32
- DYNAMIC-LIB-FLAGS = -shared
- OS = Cygwin
- CFLAGS += -m32
- DYNAMIC-LIB-FLAGS = -shared
@@
-109,12
+115,13
@@
diff -u -r ../picoLisp/src/Makefile ./src/Makefile
-endif
-endif
-endif
-endif
-endif
-endif
+-endif
+CCLD = $(CC)
+CCLD = $(CC)
-+LCRYPT =
++LCRYPT =
-lcrypt
+OS = Android
+PICOLISP-FLAGS = -rdynamic -lm $(LDFLAGS)
+OS = Android
+PICOLISP-FLAGS = -rdynamic -lm $(LDFLAGS)
-+DYNAMIC-LIB-FLAGS = -shared -export-dynamic $(LDFLAGS)
++DYNAMIC-LIB-FLAGS = -shared -export-dynamic $(LDFLAGS)
-lm
picolisp: $(bin)/picolisp $(lib)/ext$(dll) $(lib)/ht$(dll)
tools: $(bin)/lat1 $(bin)/utf2 $(bin)/balance
picolisp: $(bin)/picolisp $(lib)/ext$(dll) $(lib)/ht$(dll)
tools: $(bin)/lat1 $(bin)/utf2 $(bin)/balance