Mail archive
alpine-aports

[alpine-aports] [PATCH] community/upx: fix build with gcc8 (-Werror too strict)

From: alpine-mips-patches <info_at_mobile-stream.com>
Date: Tue, 20 Nov 2018 22:10:57 +0000

---
 community/upx/APKBUILD | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/community/upx/APKBUILD b/community/upx/APKBUILD
index c112e2e514..8f52ddeb20 100644
--- a/community/upx/APKBUILD
+++ b/community/upx/APKBUILD
_at_@ -2,7 +2,7 @@
 # TODO: unbundle lzma-sdk
 pkgname=upx
 pkgver=3.94
-pkgrel=0
+pkgrel=1
 pkgdesc="The Ultimate Packer for eXecutables"
 url="https://upx.github.io"
 arch="all"
_at_@ -24,6 +24,7 @@ prepare() {
 build() {
 	cd "$builddir"
 
+	CXXFLAGS_WERROR="-Werror -Wno-error=class-memaccess" \
 	make UPX_LZMADIR="$srcdir" all
 }
 
-- 
2.19.1
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Tue Nov 20 2018 - 22:10:57 UTC