From 242bd8d896bc15ced4952a80aedbfa63e562e48d Mon Sep 17 00:00:00 2001 From: Guillaume Chereau Date: Sun, 16 Sep 2018 18:17:59 +0800 Subject: [PATCH] Fix bug of cycles on windows There is something wrong with cycles. It crashes when not compiled with the proper flags. I could try to fix it, but I rather just get ride of cycles alltogether. --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index 64a831a70..5433d383f 100644 --- a/SConstruct +++ b/SConstruct @@ -70,7 +70,7 @@ if debug: if env['CC'] == 'gcc': env.Append(CCFLAGS='-Og') else: env.Append(CCFLAGS=['-O3', '-DNDEBUG']) - if env['CC'] == 'gcc': env.Append(CCFLAGS='-Ofast') + if env['CC'] == 'gcc': env.Append(CFLAGS='-Ofast', CXXFLAGS='-Ofast') if profile or debug: env.Append(CCFLAGS='-g')