termux-packages/packages/unrar/makefile.patch

41 lines
742 B
Diff
Raw Normal View History

2015-06-13 01:03:31 +02:00
diff -u -r ../unrar/makefile ./makefile
2017-06-12 02:14:45 +02:00
--- ../unrar/makefile 2017-06-11 11:31:05.000000000 +0000
+++ ./makefile 2017-06-12 00:07:26.385451540 +0000
@@ -2,14 +2,14 @@
2015-06-13 01:03:31 +02:00
# Makefile for UNIX - unrar
# Linux using GCC
2017-01-31 13:12:45 +01:00
-CXX=c++
2015-06-13 01:03:31 +02:00
-CXXFLAGS=-O2
-LIBFLAGS=-fPIC
2017-01-31 13:12:45 +01:00
+CXX?=c++
+CXXFLAGS?=-O2
2015-06-13 01:03:31 +02:00
+LIBFLAGS=$(LDFLAGS)
DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP
-STRIP=strip
2017-06-12 02:14:45 +02:00
-AR=ar
2015-06-13 01:03:31 +02:00
-LDFLAGS=-pthread
-DESTDIR=/usr
2017-01-31 13:12:45 +01:00
+STRIP?=strip
2017-06-12 02:14:45 +02:00
+AR?=ar
2017-01-31 13:12:45 +01:00
+LDFLAGS?=-pthread
2017-06-12 02:14:45 +02:00
+DESTDIR=$(PREFIX)
2015-06-13 01:03:31 +02:00
# Linux using LCC
2017-06-12 02:14:45 +02:00
#CXX=lcc
@@ -20,14 +20,6 @@
#DESTDIR=/usr
# CYGWIN using GCC
-CXX=c++
-CXXFLAGS=-O2
-LIBFLAGS=
-DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP
-STRIP=strip
-AR=ar
-LDFLAGS=-pthread
-DESTDIR=/usr
# HP UX using aCC
#CXX=aCC