diff --git a/core/linux-sun7i/PKGBUILD b/core/linux-sun7i/PKGBUILD index d85b5d2fa..42474834f 100644 --- a/core/linux-sun7i/PKGBUILD +++ b/core/linux-sun7i/PKGBUILD @@ -19,6 +19,7 @@ source=("https://github.com/cubieboard2/linux-sunxi/archive/${_commit}.tar.gz" 'config') md5sums=('7fa48cc5b9d8917601aa1f95818a6a08' '079967b44c4e96f8d9a099c4d90f1a51') + prepare() { cd "${srcdir}/${_srcname}" @@ -35,6 +36,8 @@ prepare() { build() { cd "${srcdir}/${_srcname}" + LDFLAGS="" + # get kernel version make prepare