Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / tachyon / make-archs.patch
blobee81681e101f15e457bcf15ec5d9deda27653bc2
1 diff --git a/unix/Make-arch b/unix/Make-arch
2 index 08afb85..dbeb691 100644
3 --- a/unix/Make-arch
4 +++ b/unix/Make-arch
5 @@ -920,6 +920,15 @@ macosx:
6 "RANLIB = ranlib" \
7 "LIBS = -L. -ltachyon $(MISCLIB)"
9 +macosx-64:
10 + $(MAKE) all \
11 + "ARCH = macosx" \
12 + "CFLAGS = -Os -m64 -ffast-math -DBsd $(MISCFLAGS)" \
13 + "ARFLAGS = r" \
14 + "STRIP = strip" \
15 + "RANLIB = ranlib" \
16 + "LIBS = -L. -ltachyon $(MISCLIB)"
18 macosx-thr:
19 $(MAKE) all \
20 "ARCH = macosx-thr" \
21 @@ -1209,6 +1218,16 @@ linux-thr:
22 "RANLIB = ranlib" \
23 "LIBS = -L. -ltachyon $(MISCLIB) -lm -lpthread"
25 +# Linux Arm using gcc
26 +linux-arm:
27 + $(MAKE) all \
28 + "ARCH = linux-arm" \
29 + "CFLAGS = -Wall -O3 -fomit-frame-pointer -ffast-math -DLinux $(MISCFLAGS)" \
30 + "ARFLAGS = r" \
31 + "STRIP = strip" \
32 + "RANLIB = ranlib" \
33 + "LIBS = -L. -ltachyon $(MISCLIB) -lm -lpthread"
35 # Linux x86 using gcc, threads, and OpenGL
36 linux-thr-ogl:
37 $(MAKE) all \