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