summaryrefslogtreecommitdiff
path: root/sci-mathematics/spin/files/spin-6.4.5-makefile.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-mathematics/spin/files/spin-6.4.5-makefile.patch
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-mathematics/spin/files/spin-6.4.5-makefile.patch')
-rw-r--r--sci-mathematics/spin/files/spin-6.4.5-makefile.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/sci-mathematics/spin/files/spin-6.4.5-makefile.patch b/sci-mathematics/spin/files/spin-6.4.5-makefile.patch
new file mode 100644
index 000000000000..64b76ec484f0
--- /dev/null
+++ b/sci-mathematics/spin/files/spin-6.4.5-makefile.patch
@@ -0,0 +1,20 @@
+--- makefile.orig 2016-01-09 12:51:10.260008241 +0100
++++ makefile 2016-01-09 12:52:04.666673549 +0100
+@@ -7,8 +7,6 @@
+ # see also ./make_pc for a simpler script not requiring make
+ # for 32-bit compilation, use ./make32
+
+-CC=gcc
+-CFLAGS=-O2 -DNXT # on some systems add: -I/usr/include
+ # on a PC: add -DPC
+ # on Solaris: add -DSOLARIS
+ # on a Mac: add -DMAC
+@@ -37,7 +35,7 @@
+ tl_mem.o tl_rewrt.o tl_cache.o
+
+ spin: $(SPIN_OS) $(TL_OS) spin.o
+- $(CC) $(CFLAGS) -o spin spin.o $(SPIN_OS) $(TL_OS)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o spin spin.o $(SPIN_OS) $(TL_OS)
+
+ install: spin
+ cp spin /usr/local/bin