disable sparse

This commit is contained in:
BigfootACA 2024-09-19 19:50:52 +08:00
parent db3f08b5c0
commit eeed770043
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
pkgbase = mmc-utils pkgbase = mmc-utils
pkgdesc = Userspace tools for MMC/SD devices pkgdesc = Userspace tools for MMC/SD devices
pkgver = r132.123fd8b pkgver = r132.123fd8b
pkgrel = 1 pkgrel = 2
epoch = 1 epoch = 1
url = https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git url = https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git
arch = x86_64 arch = x86_64
@ -11,7 +11,6 @@ pkgbase = mmc-utils
arch = armv6h arch = armv6h
license = GPL license = GPL
makedepends = git makedepends = git
makedepends = sparse
provides = mmc-utils provides = mmc-utils
conflicts = mmc-utils conflicts = mmc-utils
source = git+https://gitea.classfun.cn:4443/korg/mmc-utils.git source = git+https://gitea.classfun.cn:4443/korg/mmc-utils.git

View File

@ -4,13 +4,13 @@
pkgname=mmc-utils pkgname=mmc-utils
pkgver=r132.123fd8b pkgver=r132.123fd8b
pkgrel=1 pkgrel=2
epoch=1 epoch=1
pkgdesc="Userspace tools for MMC/SD devices" pkgdesc="Userspace tools for MMC/SD devices"
arch=('x86_64' 'i686' 'aarch64' 'armv7h' 'armv6h') arch=('x86_64' 'i686' 'aarch64' 'armv7h' 'armv6h')
url="https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git" url="https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git"
license=('GPL') license=('GPL')
makedepends=('git' 'sparse') makedepends=('git')
provides=("${pkgname}") provides=("${pkgname}")
conflicts=("${pkgname}") conflicts=("${pkgname}")
source=('git+https://gitea.classfun.cn:4443/korg/mmc-utils.git') source=('git+https://gitea.classfun.cn:4443/korg/mmc-utils.git')
@ -24,6 +24,7 @@ pkgver() {
prepare() { prepare() {
cd "${pkgname}" cd "${pkgname}"
sed -i 's,-Werror,,g' Makefile sed -i 's,-Werror,,g' Makefile
sed -i '/C ?= 1/d' Makefile
} }
build() { build() {