Skip to content

Commit

Permalink
addpatch: docker-scan 0.26.0-2
Browse files Browse the repository at this point in the history
  • Loading branch information
Xeonacid authored and felixonmars committed Sep 16, 2024
1 parent 8d661ee commit c349035
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docker-scan/riscv64.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
diff --git PKGBUILD PKGBUILD
index e3f8904..deddb34 100644
--- PKGBUILD
+++ PKGBUILD
@@ -17,6 +17,11 @@
git describe --tags | sed 's/^v//;s/-/+/g'
}

+prepare() {
+ cd "scan-cli-plugin"
+ sed -i 's/CGO_ENABLED=0/CGO_ENABLED=1/' builder.Makefile
+}
+
build() {
cd "scan-cli-plugin"
export CGO_CPPFLAGS="${CPPFLAGS}"

0 comments on commit c349035

Please sign in to comment.