diff --git a/hnode/Makefile b/hnode/Makefile index 3b92569..d284e61 100644 --- a/hnode/Makefile +++ b/hnode/Makefile @@ -1,6 +1,7 @@ ROOT := $(shell dirname $(realpath $(firstword $(MAKEFILE_LIST)))) include $(ROOT)/../build/common.makefile +CFLAGS += -std=c++20 # nodejs >= 23.0.0 requires C++20 CFLAGS += -I/usr/include/node LDFLAGS += -lnode