Subject: [alpine-aports] [PATCH 2/2] community/lld: fix build with gcc8 (-fpermissive)

From: alpine-mips-patches <[email-masked]>
Date: Wed, 6 Dec 2018 06:33:27 +0000

---
 community/lld/APKBUILD | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/community/lld/APKBUILD b/community/lld/APKBUILD
index e13a1087a3..1c64759cbf 100644
--- a/community/lld/APKBUILD
+++ b/community/lld/APKBUILD
@@ -2,7 +2,7 @@
 # Maintainer: Jakub Jirutka <[email-masked]>
 pkgname=lld
 pkgver=5.0.1
-pkgrel=0
+pkgrel=1
 _llvmver=${pkgver%%.*}
 pkgdesc="The LLVM Linker"
 url="http://llvm.org"
@@ -28,7 +28,7 @@ build() {
 		-DCMAKE_BUILD_TYPE=MinSizeRel \
 		-DCMAKE_VERBOSE_MAKEFILE=OFF \
 		-DCMAKE_C_FLAGS_MINSIZEREL_INIT="$CFLAGS" \
-		-DCMAKE_CXX_FLAGS_MINSIZEREL_INIT="$CXXFLAGS" \
+		-DCMAKE_CXX_FLAGS_MINSIZEREL_INIT="$CXXFLAGS -fpermissive" \
 		-DCMAKE_EXE_LINKER_FLAGS_MINSIZEREL_INIT="$LDFLAGS" \
 		-DCMAKE_INSTALL_PREFIX=/usr \
 		\
-- 
2.19.2

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---