summaryrefslogtreecommitdiff
path: root/data/unrar/cross.diff
diff options
context:
space:
mode:
Diffstat (limited to 'data/unrar/cross.diff')
-rw-r--r--data/unrar/cross.diff18
1 files changed, 18 insertions, 0 deletions
diff --git a/data/unrar/cross.diff b/data/unrar/cross.diff
new file mode 100644
index 000000000..ae1970710
--- /dev/null
+++ b/data/unrar/cross.diff
@@ -0,0 +1,18 @@
+diff -ur unrar/makefile unrar+iPhone/makefile
+--- unrar/makefile 2017-11-21 20:53:39.000000000 -1000
++++ unrar+iPhone/makefile 2018-08-06 11:47:39.000000000 -1000
+@@ -2,12 +2,12 @@
+ # Makefile for UNIX - unrar
+
+ # Linux using GCC
+-CXX=c++
++CXX?=c++
+ CXXFLAGS=-O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else
+ LIBFLAGS=-fPIC
+ DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP
+ STRIP=strip
+-AR=ar
++AR?=ar
+ LDFLAGS=-pthread
+ DESTDIR=/usr
+