From 5c90b9fba097024225a4f2e698b287544cba37e8 Mon Sep 17 00:00:00 2001 From: Tom Early Date: Tue, 20 Oct 2026 21:10:01 -0700 Subject: [PATCH] std=c++17 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f125a77..685e85b 100644 --- a/Makefile +++ b/Makefile @@ -29,10 +29,10 @@ SYSDIR=/etc/systemd/system IRC=ircddb # use this if you want debugging help in the case of a crash -#CPPFLAGS=-ggdb -W -std=c++11 -Iircddb -DCFG_DIR=\"$(CFGDIR)\" -DBIN_DIR=\"$(BINDIR)\" +#CPPFLAGS=-ggdb -W -std=c++17 -Iircddb -DCFG_DIR=\"$(CFGDIR)\" -DBIN_DIR=\"$(BINDIR)\" # or, you can choose this for a much smaller executable without debugging help -CPPFLAGS=-W -std=c++11 -Iircddb -DCFG_DIR=\"$(CFGDIR)\" -DBIN_DIR=\"$(BINDIR)\" +CPPFLAGS=-W -std=c++17 -Iircddb -DCFG_DIR=\"$(CFGDIR)\" -DBIN_DIR=\"$(BINDIR)\" LDFLAGS=-L/usr/lib -lrt