Cross-Platform build scripts for audio plugins
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
946B

  1. diff -Naur Python-3.8.0-orig/Lib/distutils/cygwinccompiler.py Python-3.8.0/Lib/distutils/cygwinccompiler.py
  2. --- Python-3.8.0-orig/Lib/distutils/cygwinccompiler.py 2019-10-22 10:03:07.686966400 +0300
  3. +++ Python-3.8.0/Lib/distutils/cygwinccompiler.py 2019-10-22 10:04:03.316664100 +0300
  4. @@ -305,9 +305,9 @@
  5. raise CCompilerError(
  6. 'Cygwin gcc cannot be used with --compiler=mingw32')
  7. - self.set_executables(compiler='gcc -O -Wall',
  8. - compiler_so='gcc -mdll -O -Wall',
  9. - compiler_cxx='g++ -O -Wall',
  10. + self.set_executables(compiler='gcc -O2 -Wall',
  11. + compiler_so='gcc -mdll -O2 -Wall',
  12. + compiler_cxx='g++ -O2 -Wall',
  13. linker_exe='gcc',
  14. linker_so='%s %s %s'
  15. % (self.linker_dll, shared_option,