From 2f2bd8b7562127a04af395afa05f4be83b8b7ff3 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 f65e7aeb..268ad353 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'],