aboutsummaryrefslogtreecommitdiff
path: root/utils/unrar/patches
diff options
context:
space:
mode:
authorkrant <aleksey.vasilenko@gmail.com>2024-03-15 14:47:17 +0200
committerTianling Shen <cnsztl@gmail.com>2024-03-22 16:06:37 +0800
commit0cc5590999feb21eab2211c6803572a99a66b7b8 (patch)
tree0311758d057bba4a5a41111b12e1fbeac467a8eb /utils/unrar/patches
parent7a7a87dfbd641d794297ff5b13c0fad5d2daa22c (diff)
unrar: update to 7.0.7
Signed-off-by: krant <aleksey.vasilenko@gmail.com>
Diffstat (limited to 'utils/unrar/patches')
-rw-r--r--utils/unrar/patches/100-makefile_fixes.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/utils/unrar/patches/100-makefile_fixes.patch b/utils/unrar/patches/100-makefile_fixes.patch
index acd633759..610379c8d 100644
--- a/utils/unrar/patches/100-makefile_fixes.patch
+++ b/utils/unrar/patches/100-makefile_fixes.patch
@@ -5,10 +5,10 @@
# Linux using GCC
-CXX=c++
--CXXFLAGS=-O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else
+-CXXFLAGS=-march=native -O2 -std=c++11 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else
-LIBFLAGS=-fPIC
+CXX?=c++
-+CXXFLAGS?=-O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else
++CXXFLAGS?=-march=native -O2 -std=c++11 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else
+LIBFLAGS?=-fPIC
DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP
-STRIP=strip
@@ -20,9 +20,9 @@
+LDFLAGS?=-lpthread
+DESTDIR?=/usr
- # Linux using LCC
- #CXX=lcc
-@@ -170,7 +170,7 @@ uninstall-unrar:
+ ##########################
+
+@@ -69,7 +69,7 @@ uninstall-unrar:
rm -f $(DESTDIR)/bin/unrar
install-lib: