From 4f80922358288162c3262e246beff5af7d104f38 Mon Sep 17 00:00:00 2001 From: mittorn Date: Sat, 28 Oct 2023 23:28:56 +0300 Subject: [PATCH] waf/compiler_optimizations: remove no-semantic-interposition for gcc4 --- scripts/waifulib/compiler_optimizations.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/waifulib/compiler_optimizations.py b/scripts/waifulib/compiler_optimizations.py index 30ab6baf..177a0224 100644 --- a/scripts/waifulib/compiler_optimizations.py +++ b/scripts/waifulib/compiler_optimizations.py @@ -64,6 +64,7 @@ CFLAGS = { 'msvc': ['/O2', '/Oy', '/Zi'], 'gcc': { '3': ['-O3', '-fomit-frame-pointer'], + '4': ['-Ofast', '-funsafe-math-optimizations', '-funsafe-loop-optimizations', '-fomit-frame-pointer'], 'default': ['-Ofast', '-funsafe-math-optimizations', '-funsafe-loop-optimizations', '-fomit-frame-pointer', '-fno-semantic-interposition'] }, 'clang': ['-Ofast'],