diff options
author | alpine-mips-patches <info@mobile-stream.com> | 2018-12-06 06:33:27 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2019-01-02 15:00:53 +0000 |
commit | ce495b28c15f119132198baef1a280db5c8cb64e (patch) | |
tree | 5494383036bef21cb04a2b7f08b55a4f4f2f3d8a /community/lld | |
parent | b71491545824f608a65e8d8006874557f21b8b26 (diff) | |
download | aports-ce495b28c15f119132198baef1a280db5c8cb64e.tar.bz2 aports-ce495b28c15f119132198baef1a280db5c8cb64e.tar.xz |
community/lld: fix build with gcc8 (-fpermissive)
Diffstat (limited to 'community/lld')
-rw-r--r-- | community/lld/APKBUILD | 4 |
1 files 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 <jakub@jirutka.cz> 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 \ \ |