openssl.patch 1011 B

1234567891011121314151617181920212223242526272829303132
  1. --- a/package/libs/openssl/Config.in
  2. +++ b/package/libs/openssl/Config.in
  3. @@ -4,7 +4,7 @@ comment "Build Options"
  4. config OPENSSL_OPTIMIZE_SPEED
  5. bool
  6. - default y if x86_64 || i386
  7. + default y
  8. prompt "Enable optimization for speed instead of size"
  9. select OPENSSL_WITH_ASM
  10. help
  11. @@ -38,9 +38,9 @@ config OPENSSL_WITH_ASM
  12. config OPENSSL_WITH_SSE2
  13. bool
  14. - default y if !TARGET_x86_legacy && !TARGET_x86_geode
  15. + default y if x86_64 || i386 && !TARGET_x86_legacy
  16. prompt "Enable use of x86 SSE2 instructions"
  17. - depends on OPENSSL_WITH_ASM && i386
  18. + depends on OPENSSL_WITH_ASM && x86_64 || i386
  19. help
  20. Use of SSE2 instructions greatly increase performance with a
  21. minimum increase in package size, but it will bring no benefit
  22. @@ -133,7 +133,7 @@ config OPENSSL_WITH_CHACHA_POLY1305
  23. config OPENSSL_PREFER_CHACHA_OVER_GCM
  24. bool
  25. - default y if !x86_64 && !aarch64
  26. + default y if !x86_64
  27. prompt "Prefer ChaCha20-Poly1305 over AES-GCM by default"
  28. depends on OPENSSL_WITH_CHACHA_POLY1305
  29. help