summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHaruue Icymoon2018-05-09 01:00:55 +0800
committerHaruue Icymoon2018-05-09 01:04:49 +0800
commitccc45f34d699ab4ea47424278f90e014963625dc (patch)
tree457f1bab263fcfb7760b3e6c738e3469ecbda73c
parent112f326368171c3908c404ba1c22884e9285c4d6 (diff)
downloadaur-ccc45f34d699ab4ea47424278f90e014963625dc.tar.gz
fix: prevent build with gcc 8.1.0 temp
prevent aur auto upgrade tools from compiling it and take all memory before we solve the problem. Signed-off-by: Haruue Icymoon <haruue@caoyue.com.cn>
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD2
2 files changed, 2 insertions, 1 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1bcef0c7729..e8628ecaac1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -7,6 +7,7 @@ pkgbase = linux-usermode
license = GPL2
makedepends = bc
makedepends = inetutils
+ makedepends = gcc<8.0
depends = coreutils
source = http://www.kernel.org/pub/linux/kernel/v4.x/linux-4.16.tar.xz
source = http://www.kernel.org/pub/linux/kernel/v4.x/linux-4.16.tar.sign
diff --git a/PKGBUILD b/PKGBUILD
index 245e767a073..daae0a6ad43 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,7 +13,7 @@ arch=('x86_64')
license=('GPL2')
url="http://user-mode-linux.sourceforge.net/"
depends=('coreutils')
-makedepends=('bc' 'inetutils')
+makedepends=('bc' 'inetutils' 'gcc<8.0')
source=(
http://www.kernel.org/pub/linux/kernel/v4.x/${_srcname}.tar.{xz,sign}
http://www.kernel.org/pub/linux/kernel/v4.x/patch-${pkgver}.{xz,sign}