spin-6.4.5-makefile.patch 620 B

123456789101112131415161718192021
  1. --- makefile.orig 2016-01-09 12:51:10.260008241 +0100
  2. +++ makefile 2016-01-09 12:52:04.666673549 +0100
  3. @@ -7,8 +7,6 @@
  4. # see also ./make_pc for a simpler script not requiring make
  5. # for 32-bit compilation, use ./make32
  6. -CC=gcc
  7. -CFLAGS=-O2 -DNXT # on some systems add: -I/usr/include
  8. # on a PC: add -DPC
  9. # on Solaris: add -DSOLARIS
  10. # on a Mac: add -DMAC
  11. @@ -37,7 +35,7 @@
  12. tl_mem.o tl_rewrt.o tl_cache.o
  13. spin: $(SPIN_OS) $(TL_OS) spin.o
  14. - $(CC) $(CFLAGS) -o spin spin.o $(SPIN_OS) $(TL_OS)
  15. + $(CC) $(CFLAGS) $(LDFLAGS) -o spin spin.o $(SPIN_OS) $(TL_OS)
  16. install: spin
  17. cp spin /usr/local/bin