From ce495b28c15f119132198baef1a280db5c8cb64e Mon Sep 17 00:00:00 2001 From: alpine-mips-patches Date: Thu, 6 Dec 2018 06:33:27 +0000 Subject: community/lld: fix build with gcc8 (-fpermissive) --- community/lld/APKBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'community/lld') 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 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 \ \ -- cgit v1.2.3