packages/utils/unrar/patches/100-makefile_fixes.patch

19 lines
309 B
Diff
Raw Normal View History

--- a/makefile
+++ b/makefile
@@ -2,12 +2,12 @@
# Makefile for UNIX - unrar
# Linux using GCC
-CXX=g++
-CXXFLAGS=-O2
+#CXX=g++
+#CXXFLAGS=-O2
LIBFLAGS=-fPIC
DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP
STRIP=strip
-LDFLAGS=-pthread
+LDFLAGS=-lpthread
DESTDIR=/usr
# Linux using LCC