OSDN Git Service

eSpeak: disable whole-program optimization as this was causing some distortion and...
authorMichael Curran <mick@nvaccess.org>
Wed, 5 Mar 2014 04:31:49 +0000 (14:31 +1000)
committerMichael Curran <mick@nvaccess.org>
Wed, 5 Mar 2014 04:31:49 +0000 (14:31 +1000)
nvdaHelper/espeak/sconscript

index acc7001..6aff174 100644 (file)
@@ -9,6 +9,9 @@ from glob import glob
 \r
 env=env.Clone()\r
 env.Append(CPPDEFINES='/DLIBRARY')\r
+#Whole-program optimization causes eSpeak to distort and worble with its Klatt4 voice\r
+#Therefore specifically force it off\r
+env.Append(CCFLAGS='/GL-')\r
 \r
 def _compilePhonemeAndDictData_buildEmitter(target,source,env):\r
        dictSources=env.Flatten([env.Glob(source[0].abspath+'\\*_%s'%ext) for ext in ('rules','list','listx','extra')])\r