diff options
author | Edward O'Callaghan <eocallaghan@alterapraxis.com> | 2014-06-27 18:07:05 +1000 |
---|---|---|
committer | Edward O'Callaghan <eocallaghan@alterapraxis.com> | 2014-06-29 04:16:49 +0200 |
commit | 44fd0a00318a6408f77ace75ed09628eba50c0a4 (patch) | |
tree | 6e4fd209ce8b5542b5f2e9972dae22cdf496d89f | |
parent | efe2435fec15866d803579a2b84ec299e8b42fb5 (diff) | |
download | coreboot-44fd0a00318a6408f77ace75ed09628eba50c0a4.tar.xz |
utils/cbfstool: No need to pass -g flag twice
Spotted by building with Clang.
Change-Id: I7ab97278d8bd586a71e453c8cc9d26dd6938c8d2
Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-on: http://review.coreboot.org/6139
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Idwer Vollering <vidwer@gmail.com>
-rw-r--r-- | util/cbfstool/Makefile | 1 | ||||
-rw-r--r-- | util/cbfstool/Makefile.inc | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/util/cbfstool/Makefile b/util/cbfstool/Makefile index e647c88062..4f282f9fc1 100644 --- a/util/cbfstool/Makefile +++ b/util/cbfstool/Makefile @@ -6,7 +6,6 @@ CFLAGS += -Wall -Wundef -Wstrict-prototypes -Wmissing-prototypes CFLAGS += -Wwrite-strings -Wredundant-decls -Wno-trigraphs CFLAGS += -Wstrict-aliasing -Werror CFLAGS += -Wshadow -LDFLAGS += -g CBFSTOOL_BINARY:=$(obj)/cbfstool diff --git a/util/cbfstool/Makefile.inc b/util/cbfstool/Makefile.inc index 2923938ab7..0548ea40d0 100644 --- a/util/cbfstool/Makefile.inc +++ b/util/cbfstool/Makefile.inc @@ -23,8 +23,6 @@ rmodobj += common.o rmodobj += elfheaders.o rmodobj += xdr.o -TOOLFLAGS= -g - ifeq ($(shell uname -s | cut -c-7 2>/dev/null), MINGW32) TOOLFLAGS+=-mno-ms-bitfields endif @@ -51,4 +49,3 @@ $(objutil)/cbfstool/cbfstool: $(objutil)/cbfstool $(addprefix $(objutil)/cbfstoo $(objutil)/cbfstool/rmodtool: $(objutil)/cbfstool $(addprefix $(objutil)/cbfstool/,$(rmodobj)) printf " HOSTCC $(subst $(objutil)/,,$(@)) (link)\n" $(HOSTCC) $(TOOLFLAGS) -o $@ $(addprefix $(objutil)/cbfstool/,$(rmodobj)) - |