[syslinux] Compiling extlinux statically

Adam Baxter voltagex at voltagex.org
Sat Aug 8 07:32:19 PDT 2015


Hi,
I'm trying to build extlinux statically, but no matter what CFLAGS or
OPTFLAGS I set in the Makefiles I get bios/extlinux/extlinux: ELF 64-bit
LSB  executable, x86-64, version 1 (SYSV), dynamically linked (uses shared
libs), for GNU/Linux 2.6.24,
BuildID[sha1]=ef970f59a48b226b2397b73a56e02a73b79c5f0a, not stripped


I have tried adding OPTFLAGS= -static to the extlinux/Makefile as well as
linux/Makefile but I'm obviously missing something.

What flags do I need, and where?

Thanks,
Adam


More information about the Syslinux mailing list