mutt: Enable sasl. Fixes #93.
[termux-packages] / packages / kona / Makefile.patch
1 diff -u -r ../kona-Win.3.36-64/Makefile ./Makefile
2 --- ../kona-Win.3.36-64/Makefile 2015-07-30 11:18:02.000000000 -0400
3 +++ ./Makefile 2015-12-06 14:40:50.325235408 -0500
4 @@ -1,10 +1,8 @@
5 -PREFIX = /usr/local
6 -CFLAGS=-g
7 -PRODFLAGS = -O3 #-pg -g3
8 +PRODFLAGS =
9 LIB=libkona.a
10 DEVFLAGS = -O0 -g3 -DDEBUG -Wunused -Wreturn-type -Wimplicit-int #-Wall
11
12 -OS := $(shell uname -s | tr "[:upper:]" "[:lower:]")
13 +OS = android
14
15 # Win-64
16 ifeq (mingw32_nt-6.2,$(OS))
17 @@ -28,16 +26,12 @@
18 endif
19
20 ifeq (android,$(OS))
21 -CC=arm-linux-androideabi-gcc
22 OBJS= src/0.o src/c.o src/getline.o src/getline_android.o src/mt.o src/p.o \
23 src/r.o src/k.o src/kc.o src/kx.o src/kg.o src/km.o src/kn.o src/ko.o \
24 src/ks.o src/v.o src/va.o src/vc.o src/vd.o src/vf.o src/vg.o src/vq.o
25 -LDFLAGS = -Wl,--gc-sections -Wl,-z,nocopyreloc -lgcc -no-canonical-prefixes \
26 - -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -mthumb \
27 - -lc -lm -ldl
28 -CFLAGS += -fPIE -fpic -ffunction-sections -funwind-tables -fstack-protector \
29 - -no-canonical-prefixes -mtune=xscale -msoft-float -mthumb \
30 - -fomit-frame-pointer -fno-strict-aliasing
31 +LDFLAGS += -Wl,--gc-sections -Wl,-z,nocopyreloc -lgcc -no-canonical-prefixes \
32 + -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now \
33 + -lm
34 endif
35
36 ifeq (linux,$(OS))