mpg123-0.59r-cross.patch 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. diff -ruN mpg123-0.59r.orig/Makefile mpg123-0.59r/Makefile
  2. --- mpg123-0.59r.orig/Makefile 1999-06-15 22:39:06.000000000 +0200
  3. +++ mpg123-0.59r/Makefile 2006-12-14 15:52:44.000000000 +0100
  4. @@ -103,14 +103,14 @@
  5. mpg123-make
  6. linux:
  7. - $(MAKE) CC=gcc LDFLAGS= \
  8. + $(MAKE) LDFLAGS= \
  9. OBJECTS='decode_i386.o dct64_i386.o decode_i586.o \
  10. audio_oss.o term.o' \
  11. CFLAGS='-DI386_ASSEM -DPENTIUM_OPT -DREAL_IS_FLOAT -DLINUX \
  12. -DREAD_MMAP -DOSS -DTERM_CONTROL\
  13. - -Wall -O2 -m486 \
  14. + -Wall \
  15. -fomit-frame-pointer -funroll-all-loops \
  16. - -finline-functions -ffast-math' \
  17. + -finline-functions -ffast-math $(CFLAGS)' \
  18. mpg123-make
  19. linux-3dnow:
  20. @@ -246,6 +246,22 @@
  21. -finline-functions -ffast-math' \
  22. mpg123-make
  23. +linux-bigend:
  24. + $(MAKE) LDFLAGS= OBJECTS='decode.o dct64.o audio_oss.o' \
  25. + CFLAGS+='-DREAL_IS_FLOAT -DLINUX -DREAD_MMAP \
  26. + -DOSS -DOSS_BIG_ENDIAN -Wall \
  27. + -fomit-frame-pointer -funroll-loops \
  28. + -finline-functions -ffast-math $(CFLAGS)' \
  29. + mpg123-make
  30. +
  31. +linux-littleend:
  32. + $(MAKE) LDFLAGS= OBJECTS='decode.o dct64.o audio_oss.o' \
  33. + CFLAGS='-DREAL_IS_FLOAT -DLINUX -DREAD_MMAP \
  34. + -DOSS -Wall \
  35. + -fomit-frame-pointer -funroll-loops \
  36. + -finline-functions -ffast-math $(CFLAGS)' \
  37. + mpg123-make
  38. +
  39. linux-sajber:
  40. @ $(MAKE) FRONTEND=sajberplay-make linux-frontend