From 66ffe1dfbb88d987f428bca87ecc2641ae240797 Mon Sep 17 00:00:00 2001 From: Sara Date: Thu, 21 Nov 2024 08:36:45 +0100 Subject: [PATCH] fix c++ std flag --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index 4a3319e..edc91ef 100644 --- a/SConstruct +++ b/SConstruct @@ -12,6 +12,6 @@ def glob_recurse(dir): sources = glob_recurse(Path('src/')) -env = Environment(CCFLAGS=['-std=c++20', '-Wall', '-O0', '-g3', '-DPROJECTNAME=\\\"'+project+'\\\"']) +env = Environment(CCFLAGS=['--std=c++20', '-Wall', '-O0', '-g3', '-DPROJECTNAME=\\\"'+project+'\\\"']) env.ParseConfig('sdl2-config --static-libs') env.Program(project, sources)