summaryrefslogtreecommitdiffstats
path: root/utils/unrar/patches/100-makefile_fixes.patch
blob: e553b7aa99648e25e00f222390023c8c46bb9401 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff -uprN a/unrar/makefile b/unrar/makefile
--- a/makefile	2014-06-12 13:36:14.723816266 +0200
+++ b/makefile	2014-06-12 13:36:36.174531961 +0200
@@ -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