100-makefile_fixes.patch 309 B

123456789101112131415161718
  1. --- a/makefile
  2. +++ b/makefile
  3. @@ -2,12 +2,12 @@
  4. # Makefile for UNIX - unrar
  5. # Linux using GCC
  6. -CXX=g++
  7. -CXXFLAGS=-O2
  8. +#CXX=g++
  9. +#CXXFLAGS=-O2
  10. LIBFLAGS=-fPIC
  11. DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP
  12. STRIP=strip
  13. -LDFLAGS=-pthread
  14. +LDFLAGS=-lpthread
  15. DESTDIR=/usr
  16. # Linux using LCC