Browse Source

tools: mklibs Add HOST_CPPFLAGS to fix compilation w/ GCC11

RISCi_ATOM 3 years ago
parent
commit
f5a68cadf9
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tools/mklibs/Makefile

+ 1 - 0
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) \