~alpine/aports

community/lld: remove -fpermissive from CXXFLAGS v1 PROPOSED

alpine-mips-patches: 1
 community/lld: remove -fpermissive from CXXFLAGS

 1 files changed, 2 insertions(+), 2 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/2909/mbox | git am -3
Learn more about email & git

[PATCH] community/lld: remove -fpermissive from CXXFLAGS Export this patch

---
 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 <jakub@jirutka.cz>
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