aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/elfutils.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-05-19 23:26:34 +0900
committerOphestra <cat@gensokyo.uk>2026-05-19 23:26:34 +0900
commit98d915af3dbab860bc1ac614a91d0a38555e624d (patch)
tree0d2172058dfda2b2ea47cb1a0359c9e29e72e6c9 /internal/rosa/elfutils.go
parentc0593e83253813ba4ec9caf6784e5f2d6251e6fd (diff)
internal/rosa/package: migrate argp-standalone, dtc, elfutils, flex, freetype, fuse
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/elfutils.go')
-rw-r--r--internal/rosa/elfutils.go57
1 files changed, 0 insertions, 57 deletions
diff --git a/internal/rosa/elfutils.go b/internal/rosa/elfutils.go
deleted file mode 100644
index 5f0987ac..00000000
--- a/internal/rosa/elfutils.go
+++ /dev/null
@@ -1,57 +0,0 @@
-package rosa
-
-import "hakurei.app/internal/pkg"
-
-func (t Toolchain) newElfutils() (pkg.Artifact, string) {
- const (
- version = "0.195"
- checksum = "JrGnBD38w8Mj0ZxDw3fKlRBFcLvRKu8rcYnX35R9yTlUSYnzTazyLboG-a2CsJlu"
- )
- return t.NewPackage("elfutils", version, newTar(
- "https://sourceware.org/elfutils/ftp/"+
- version+"/elfutils-"+version+".tar.bz2",
- checksum,
- pkg.TarBzip2,
- ), &PackageAttr{
- Env: []string{
- "CC=cc" +
- // nonstandard glibc extension
- " -DFNM_EXTMATCH=0",
- },
- }, &MakeHelper{
- // nonstandard glibc extension
- SkipCheck: true,
-
- Configure: []KV{
- {"enable-deterministic-archives"},
- },
- },
- M4,
- PkgConfig,
-
- Zlib,
- Bzip2,
- Zstd,
- ArgpStandalone,
- MuslFts,
- MuslObstack,
- KernelHeaders,
- ), version
-}
-func init() {
- native.mustRegister(Toolchain.newElfutils, &Metadata{
- Name: "elfutils",
- Description: "utilities and libraries to handle ELF files and DWARF data",
- Website: "https://sourceware.org/elfutils/",
-
- Dependencies: P{
- Zlib,
- Bzip2,
- Zstd,
- MuslFts,
- MuslObstack,
- },
-
- ID: 5679,
- })
-}