Mail archive
alpine-aports

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

From: alpine-mips-patches <info_at_mobile-stream.com>
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
_at_@ -2,7 +2,7 @@
 # Maintainer: Jakub Jirutka <jakub_at_jirutka.cz>
 pkgname=lld
 pkgver=5.0.1
-pkgrel=0
+pkgrel=1
 _llvmver=${pkgver%%.*}
 pkgdesc="The LLVM Linker"
 url="http://llvm.org"
_at_@ -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:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Thu Dec 06 2018 - 06:33:27 UTC