Package Details: elfinfo 1.1.0-1

Git Clone URL: https://aur.archlinux.org/elfinfo.git (read-only, click to copy)
Package Base: elfinfo
Description: Detect which compiler version was used for compiling an ELF file
Upstream URL: https://elfinfo.roboticoverlords.org/
Keywords: elf utility
Licenses: MIT
Submitter: xyproto
Maintainer: xyproto
Last Packager: xyproto
Votes: 2
Popularity: 0.000000
First Submitted: 2018-08-24 07:50
Last Updated: 2020-07-27 14:28

Latest Comments

aperez commented on 2020-07-27 15:14

I needed this small change to the PKGBUILD in order for the linking to complete successfully:

diff --git a/PKGBUILD b/PKGBUILD
index 0b94e33..2355085 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,7 +13,7 @@ sha256sums=('SKIP')

 build() {
   cd $pkgname
-  go build -mod=vendor -gcflags "all=-trimpath=${PWD}" -asmflags "all=-trimpath=${PWD}" -ldflags "-extldflags ${LDFLAGS}"
+  go build -mod=vendor -gcflags "all=-trimpath=${PWD}" -asmflags "all=-trimpath=${PWD}" -ldflags "-extldflags '${LDFLAGS}'"
 }

 package() {

Note how the patch adds the missing quoting around the ${LDFLAGS} expansion.