forked from rosa/hakurei
Does not compile on arm:
In file included from /usr/src/elfutils/backends/aarch64_initreg.c:36:
/system/include/linux/uio.h:17:8: error: redefinition of 'iovec'
17 | struct iovec
| ^
/system/include/bits/alltypes.h:363:8: note: previous definition is here
363 | struct iovec { void *iov_base; size_t iov_len; };
| ^
1 error generated.
This reverts commit 5313ea627b.
50 lines
807 B
Go
50 lines
807 B
Go
package elfutils {
|
|
description = "utilities and libraries to handle ELF files and DWARF data";
|
|
website = "https://sourceware.org/elfutils";
|
|
anitya = 5679;
|
|
|
|
version# = "0.195";
|
|
source = remoteTar {
|
|
url = "https://sourceware.org/elfutils/ftp/"+
|
|
version+"/elfutils-"+version+".tar.bz2";
|
|
checksum = "JrGnBD38w8Mj0ZxDw3fKlRBFcLvRKu8rcYnX35R9yTlUSYnzTazyLboG-a2CsJlu";
|
|
compress = bzip2;
|
|
};
|
|
|
|
env = [
|
|
"CC=cc" +
|
|
// nonstandard glibc extension
|
|
" -DFNM_EXTMATCH=0",
|
|
];
|
|
|
|
exec = make {
|
|
configure = {
|
|
"enable-deterministic-archives";
|
|
};
|
|
|
|
// nonstandard glibc extension
|
|
check = nil;
|
|
};
|
|
|
|
inputs = [
|
|
m4,
|
|
pkgconf,
|
|
|
|
zlib,
|
|
bzip2,
|
|
zstd,
|
|
argp-standalone,
|
|
musl-fts,
|
|
musl-obstack,
|
|
kernel-headers,
|
|
];
|
|
|
|
runtime = [
|
|
zlib,
|
|
bzip2,
|
|
zstd,
|
|
musl-fts,
|
|
musl-obstack,
|
|
];
|
|
}
|