summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Tauner <stefan.tauner@gmx.at>2015-04-26 21:41:41 +0200
committerStefan Tauner <stefan.tauner@gmx.at>2015-04-27 23:04:16 +0200
commitd0398f135f61c8e9c4d50655d08a35d2816690fb (patch)
treec03eab911701a065f6d6664bfe37e609bd49b0bf
parent0fd3e79d0d9d3e5607a57a899333ddb1ef6a927e (diff)
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@gmx.at> Reviewed-on: http://review.coreboot.org/9999 Tested-by: build bot (Jenkins) Reviewed-by: Sol Boucher <solb@chromium.org>
-rw-r--r--util/cbfstool/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cbfstool/Makefile b/util/cbfstool/Makefile
index 258fba3ec2..95957738b4 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