tools: mklibs Add HOST_CPPFLAGS to fix compilation w/ GCC11
[librecmc/librecmc.git] / 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) \