Package Details: elfinfo 1.2.2-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: compiler detection elf utility
Licenses: BSD
Submitter: xyproto
Maintainer: xyproto
Last Packager: xyproto
Votes: 3
Popularity: 0.000001
First Submitted: 2018-08-24 07:50 (UTC)
Last Updated: 2023-01-23 09:19 (UTC)

Latest Comments

xyproto commented on 2023-01-23 09:20 (UTC)

Thanks, aperez!

aperez commented on 2020-07-27 15:14 (UTC)

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.