Subject: [PATCH] community/lld: remove -fpermissive from CXXFLAGS

From: alpine-mips-patches <[email-masked]>
Date: Sun, 11 Aug 2019 14:18:58 +0000

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

diff --git a/community/lld/APKBUILD b/community/lld/APKBUILD
index 840c57bcec..3f4bbcc490 100644
--- a/community/lld/APKBUILD
+++ b/community/lld/APKBUILD
@@ -3,7 +3,7 @@
 # Maintainer: Jakub Jirutka <[email-masked]>
 pkgname=lld
 pkgver=8.0.1
-pkgrel=0
+pkgrel=1
 _llvmver=${pkgver%%.*}
 pkgdesc="The LLVM Linker"
 url="https://llvm.org"
@@ -29,7 +29,7 @@ build() {
 		-DCMAKE_BUILD_TYPE=MinSizeRel \
 		-DCMAKE_VERBOSE_MAKEFILE=OFF \
 		-DCMAKE_C_FLAGS_MINSIZEREL_INIT="$CFLAGS" \
-		-DCMAKE_CXX_FLAGS_MINSIZEREL_INIT="$CXXFLAGS -fpermissive" \
+		-DCMAKE_CXX_FLAGS_MINSIZEREL_INIT="$CXXFLAGS" \
 		-DCMAKE_EXE_LINKER_FLAGS_MINSIZEREL_INIT="$LDFLAGS" \
 		-DCMAKE_INSTALL_PREFIX=/usr \
 		-DCMAKE_SKIP_INSTALL_RPATH=ON \
-- 
2.22.0