-
Notifications
You must be signed in to change notification settings - Fork 273
Closed
Description
Just started making my own linux from scratch and I cant seem to build a static binary for it
I have set the following options:
User defined options
backend : ninja
buildtype : release
default_library: static
strip : True
branding : openlinux
pam : false
rootprefix : /tmp/final/initramfs/
but when i do file initramfs/sbin/openrc i get a dynamically compiled binary:
initramfs/sbin/openrc: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=e252c588c31d05a1e85f359253fb26e9d5eada81, for GNU/Linux 3.2.0, stripped
Is it possible to create a comprehensive guide on how to build openrc statically?
Metadata
Metadata
Assignees
Labels
No labels