diff options
author | Daniel Schürmann <daschuer@mixxx.org> | 2020-05-21 00:08:37 +0200 |
---|---|---|
committer | Daniel Schürmann <daschuer@mixxx.org> | 2020-05-21 00:08:37 +0200 |
commit | f562d3e407ee1f8ee0abe895237af5ee94809bd3 (patch) | |
tree | fcf28151a2d6c7265bdab6e9c1664d55b06d2402 /build/features.py | |
parent | 566a07e6f544ffc2f4286a3342dc748e79ef648c (diff) |
Remove obsolete gcc < 5 workaround
Diffstat (limited to 'build/features.py')
-rw-r--r-- | build/features.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/build/features.py b/build/features.py index f05664258e..60f75dbb2d 100644 --- a/build/features.py +++ b/build/features.py @@ -1061,13 +1061,7 @@ class Optimize(Feature): # Note: requires gcc >= 4.2.0 # macros like __SSE2_MATH__ __SSE_MATH__ __SSE2__ __SSE__ # are set automatically - if build.architecture_is_x86 and not build.machine_is_64bit: - # For 32 bit builds using gcc < 5.0, the mfpmath=sse is - # not set by default (not supported on arm builds) - # If -msse is not implicitly set, it falls back to mfpmath=387 - # and a compiler warning is issued (tested with gcc 4.8.4) - build.env.Append(CCFLAGS='-mfpmath=sse') - elif build.architecture_is_arm: + if build.architecture_is_arm: self.status = self.build_status(optimize_level) build.env.Append(CCFLAGS='-mfloat-abi=hard') build.env.Append(CCFLAGS='-mfpu=neon') |