p7zip: remove unneeded patch

This commit is contained in:
Peter Vicman 2017-08-20 21:57:19 +02:00 committed by cvh
parent 6b5ebac327
commit 0aa2642d3f
2 changed files with 3 additions and 17 deletions

View File

@ -1,6 +1,6 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2016 Team LibreELEC
# Copyright (C) 2016-present Team LibreELEC
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@ -31,11 +31,11 @@ PKG_LONGDESC="p7zip is a port of 7za.exe for POSIX systems like Unix"
PKG_AUTORECONF="no"
make_host() {
make TARGET_CXX=$CXX TARGET_CC=$CC 7za
make CXX=$CXX CC=$CC 7za
}
make_target() {
make TARGET_CXX=$CXX TARGET_CC=$CC 7z 7za
make CXX=$CXX CC=$CC 7z 7za
}
makeinstall_host() {

View File

@ -1,14 +0,0 @@
diff -Naur p7zip_15.14/makefile.machine p7zip_15.14.patch/makefile.machine
--- p7zip_15.14/makefile.machine 2016-03-13 18:30:21.000000000 +0100
+++ p7zip_15.14.patch/makefile.machine 2016-03-27 03:17:45.348285607 +0200
@@ -10,8 +10,8 @@
-D_7ZIP_LARGE_PAGES \
$(LOCAL_FLAGS)
-CXX=g++
-CC=gcc
+CXX=$(TARGET_CXX)
+CC=$(TARGET_CC)
CC_SHARED=-fPIC
LINK_SHARED=-fPIC -shared