aboutsummaryrefslogtreecommitdiffstats
path: root/testing/spin/makefile.patch
blob: 1e01f4f8d2bd5c024cb9eeef05845645e3b85b3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- Spin/Src6.4.5/makefile.orig
+++ Spin/Src6.4.5/makefile
@@ -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