tools: mklibs Add HOST_CPPFLAGS to fix compilation w/ GCC11
authorRISCi_ATOM <bob@bobcall.me>
Mon, 29 Mar 2021 18:19:08 +0000 (14:19 -0400)
committerRISCi_ATOM <bob@bobcall.me>
Mon, 29 Mar 2021 18:19:08 +0000 (14:19 -0400)
tools/mklibs/Makefile

index 507c2fd3949e2fc2af6c9e872393012fd914a523..8826840524c918bb76aafb368667f42fcfac34f2 100644 (file)
@@ -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) \