[coreboot-gerrit] New patch to review for coreboot: d57c1de cbfstool: remove gcc-specific -Og flag

Stefan Tauner (stefan.tauner@gmx.at) gerrit at coreboot.org
Sun Apr 26 21:54:48 CEST 2015


Stefan Tauner (stefan.tauner at gmx.at) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/9999

-gerrit

commit d57c1dee05961fee61f1ae7ac0a9b2bd6e5a3d36
Author: Stefan Tauner <stefan.tauner at gmx.at>
Date:   Sun Apr 26 21:41:41 2015 +0200

    cbfstool: remove gcc-specific -Og flag
    
    The new -Og optimization level is only available in gcc version 4.8
    or higher. Clang fails on this too as of now (with "invalid integral
    value 'g' in '-Og'"). The gain of this does not outweigh this
    limitation at all. The flag was added in 0e53931.
    
    Change-Id: I2b2dfc786369653d768f25be94b53329451ae1b4
    Signed-off-by: Stefan Tauner <stefan.tauner at gmx.at>
---
 util/cbfstool/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util/cbfstool/Makefile b/util/cbfstool/Makefile
index 258fba3..9595773 100644
--- a/util/cbfstool/Makefile
+++ b/util/cbfstool/Makefile
@@ -2,7 +2,7 @@ obj ?= .
 
 HOSTCC ?= $(CC)
 
-CFLAGS += -Og -g3
+CFLAGS += -g3
 CFLAGS += -std=c99 -Werror -Wall -Wextra
 CFLAGS += -Wcast-qual -Wmissing-prototypes -Wredundant-decls -Wshadow
 CFLAGS += -Wstrict-prototypes -Wwrite-strings



More information about the coreboot-gerrit mailing list