[coreboot-gerrit] Patch merged into coreboot/master: 23b4e4c Makefile.inc: Only add `-Wno-unused-but-set-variable` for GCC

gerrit at coreboot.org gerrit at coreboot.org
Wed Apr 8 15:42:38 CEST 2015


the following patch was just integrated into master:
commit 23b4e4c4e80c0acd17c088c6bdde8c3bfccce898
Author: Paul Menzel <paulepanter at users.sourceforge.net>
Date:   Wed Apr 8 10:53:39 2015 +0200

    Makefile.inc: Only add `-Wno-unused-but-set-variable` for GCC
    
    Clang (3.5) does not know that option.
    
    	error: unknown warning option '-Wno-unused-but-set-variable'; did you mean '-Wno-unused-const-variable'? [-Werror,-Wunknown-warning-option]
    
    Fix up commit f69a99db (coreboot: x86: enable gc-sections) to only add
    that option, when GCC is used.
    
    Change-Id: I65b41133a806df1803ccc445e27184c579a718a0
    Signed-off-by: Paul Menzel <paulepanter at users.sourceforge.net>
    Reviewed-on: http://review.coreboot.org/9377
    Tested-by: build bot (Jenkins)
    Reviewed-by: Aaron Durbin <adurbin at google.com>


See http://review.coreboot.org/9377 for details.

-gerrit



More information about the coreboot-gerrit mailing list