[coreboot] Patch merged into coreboot/master: 66ebaa9 Respect linker order

gerrit at coreboot.org gerrit at coreboot.org
Wed Dec 21 16:27:03 CET 2011

the following patch was just integrated into master:
commit 66ebaa9f670438b7dd4efa80b65830b362729a9b
Author: Christian Ruppert <idl0r at qasl.de>
Date:   Sat Dec 17 21:56:05 2011 +0100

    Respect linker order
    Linking fails when using -Wl,--as-needed and/or esp. when forcing --as-needed
    through a compiler specs file.
    A proper compile/link command would look like: $(CC) $(CFLAGS) $(LDFLAGS) -o foo
    $(OBJS) $(LIBS). So the *FLAGS must be passed *before* the objects while the
    libraries/dependencies must be passed *after* the objects.
    For more details see: http://www.gentoo.org/proj/en/qa/asneeded.xml
    Change-Id: I5a5b05e1cab8a2d88ce56c92d9b2f991ca1ee6c0
    Signed-off-by: Christian Ruppert <idl0r at qasl.de>

Reviewed-By: Patrick Georgi <patrick at georgi-clan.de> at Wed Dec 21 16:26:55 2011, giving +2
See http://review.coreboot.org/494 for details.


More information about the coreboot mailing list