diff --git a/util/cbfstool/Makefile b/util/cbfstool/Makefile index 51b6bad9c1..2170bec2d4 100644 --- a/util/cbfstool/Makefile +++ b/util/cbfstool/Makefile @@ -42,9 +42,9 @@ clean: tags: ctags *.[ch] -CXXFLAGS=-DCOMPACT -m32 -CFLAGS=-m32 -LDFLAGS=-m32 +CXXFLAGS=-DCOMPACT +CFLAGS= +LDFLAGS= $(obj)/cbfstool:$(COMMON) $(HOSTCXX) $(LDFLAGS) -o $@ $^ diff --git a/util/cbfstool/Makefile.inc b/util/cbfstool/Makefile.inc index 74bb5c0d6b..7c50822331 100644 --- a/util/cbfstool/Makefile.inc +++ b/util/cbfstool/Makefile.inc @@ -16,7 +16,7 @@ cbfsobj += cbfs-mkstage.o cbfsobj += cbfs-mkpayload.o cbfsobj += cbfstool.o -CBFSTOOLFLAGS=-m32 -DCOMPACT +CBFSTOOLFLAGS=-DCOMPACT $(obj)/util/cbfstool: mkdir -p $@