diff options
author | Daniel Schürmann <daschuer@mixxx.org> | 2015-01-18 21:40:57 +0100 |
---|---|---|
committer | Daniel Schürmann <daschuer@mixxx.org> | 2015-01-18 21:40:57 +0100 |
commit | 6e1e86769167bd3830e73adab149eb81af7b01ec (patch) | |
tree | 938b851668b0224987684d044ee151d1d8c28c4a /build/depends.py | |
parent | 9472af63b367d535f8c89320f548140793284d3d (diff) |
Fix flags to optimize string relations,
introduce optimize='disabled' for compiler default settings
remove scipping optimize fald in msvc debug builds
Diffstat (limited to 'build/depends.py')
-rw-r--r-- | build/depends.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build/depends.py b/build/depends.py index 9e0d645c10..e573da0e40 100644 --- a/build/depends.py +++ b/build/depends.py @@ -381,10 +381,10 @@ class SoundTouch(Dependence): SOUNDTOUCH_PATH = 'soundtouch-1.8.0' def sse_enabled(self, build): - optimize = SCons.ARGUMENTS.get('optimize', None) + optimize = SCons.ARGUMENTS.get('optimize', 'portable') return (build.machine_is_64bit or - (build.toolchain_is_msvs and optimize == 'tuned') or - (build.toolchain_is_gnu and optimize == 'tuned')) + (optimize == 'portable') or + (optimize == 'tuned')) def sources(self, build): sources = ['engine/enginebufferscalest.cpp', |