search for: aac8208

Displaying 2 results from an estimated 2 matches for "aac8208".

2015 Aug 08
2
Compiling extlinux statically
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
2015 Aug 08
0
Compiling extlinux statically
...b2397b73a56e02a73b79c5f0a, 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? diff --git a/extlinux/Makefile b/extlinux/Makefile index 02d1db5..aac8208 100644 --- a/extlinux/Makefile +++ b/extlinux/Makefile @@ -52,7 +52,7 @@ spotless: clean installer: extlinux extlinux: $(OBJS) - $(CC) $(LDFLAGS) -o $@ $^ + $(CC) $(LDFLAGS) -o $@ $^ -static strip: $(STRIP) extlinux $ ldd bios/extlinux/extlinux not a dynamic execu...