mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
UPSTREAM: util/cbfstool: compile with -O2 by default
This speeds up the lzma encoder approximately four-fold. BUG=chromium:630451 BRANCH=none TEST=emerge-$board chromeos-bootimage's set of adding static assets it noticeably faster Change-Id: Ie8cc9b6106ac72c0b0e96bcd76bb7d13d48b2025 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Change-Id: Ibf896098799693ddd0f8a6c74bda2e518ecea869 Original-Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Reviewed-on: https://review.coreboot.org/18098 Original-Tested-by: build bot (Jenkins) Original-Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Original-Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-on: https://chromium-review.googlesource.com/427701 Reviewed-by: Stefan Reinauer <reinauer@chromium.org>
This commit is contained in:
parent
24d19ce9b0
commit
bc3460aa65
1 changed files with 1 additions and 0 deletions
|
@ -65,6 +65,7 @@ ifwiobj += common.o
|
|||
TOOLCFLAGS ?= -Werror -Wall -Wextra
|
||||
TOOLCFLAGS += -Wcast-qual -Wmissing-prototypes -Wredundant-decls -Wshadow
|
||||
TOOLCFLAGS += -Wstrict-prototypes -Wwrite-strings
|
||||
TOOLCFLAGS += -O2
|
||||
TOOLCPPFLAGS ?= -D_DEFAULT_SOURCE # memccpy() from string.h
|
||||
TOOLCPPFLAGS += -D_XOPEN_SOURCE=700 # strdup() from string.h
|
||||
TOOLCPPFLAGS += -I$(top)/util/cbfstool/flashmap
|
||||
|
|
Loading…
Add table
Reference in a new issue