patch-Makefile 629 B

12345678910111213141516171819202122232425262728
  1. --- rtmpdump-2.4.orig/Makefile 2013-12-15 14:24:48.000000000 +0100
  2. +++ rtmpdump-2.4/Makefile 2013-12-15 15:18:27.000000000 +0100
  3. @@ -1,9 +1,9 @@
  4. VERSION=v2.4
  5. -prefix=/usr/local
  6. +prefix=/usr
  7. -CC=$(CROSS_COMPILE)gcc
  8. -LD=$(CROSS_COMPILE)ld
  9. +CC?=$(CROSS)gcc
  10. +LD?=$(CROSS)ld
  11. SYS=posix
  12. #SYS=mingw
  13. @@ -21,8 +21,10 @@ CRYPTO_DEF=$(DEF_$(CRYPTO))
  14. DEF=-DRTMPDUMP_VERSION=\"$(VERSION)\" $(CRYPTO_DEF) $(XDEF)
  15. OPT=-O2
  16. -CFLAGS=-Wall $(XCFLAGS) $(INC) $(DEF) $(OPT)
  17. -LDFLAGS=-Wall $(XLDFLAGS)
  18. +CFLAGS?=
  19. +CFLAGS+=-Wall $(XCFLAGS) $(INC) $(DEF)
  20. +LDFLAGS?=
  21. +LDFLAGS+=-Wall $(XLDFLAGS)
  22. bindir=$(prefix)/bin
  23. sbindir=$(prefix)/sbin