From f5a68cadf992164cef81c443f9c3bb798a1bf00c Mon Sep 17 00:00:00 2001 From: RISCi_ATOM Date: Mon, 29 Mar 2021 14:19:08 -0400 Subject: [PATCH] tools: mklibs Add HOST_CPPFLAGS to fix compilation w/ GCC11 --- tools/mklibs/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/mklibs/Makefile b/tools/mklibs/Makefile index 507c2fd394..8826840524 100644 --- a/tools/mklibs/Makefile +++ b/tools/mklibs/Makefile @@ -18,6 +18,7 @@ HOST_FIXUP:=autoreconf include $(INCLUDE_DIR)/host-build.mk HOST_CFLAGS += -I$(CURDIR)/include +HOST_CPPFLAGS += -std=gnu++98 define Host/Install $(INSTALL_BIN) \ -- 2.25.1