• R/O
  • HTTP
  • SSH
  • HTTPS

packages: Commit

Community maintained packages for ImmortalWrt.


Commit MetaInfo

Revision149053198146a8821e8c12d7c7fce8c3a175c5b7 (tree)
Time2022-12-04 04:31:55
AuthorMarius Dinu <m95d+git@psih...>
CommiterRosen Penev

Log Message

tvheadend: add conditions for -O3 and LTO optimizations

Building for arc, mips and powerpc platforms fails if -O3 and LTO optimizations are enabled. This patch removes that option for everything other than arm and x86_64. These are known to work.
Fixes issue #19923.
Also fixes a typo in the description.

Signed-off-by: Marius Dinu <m95d+git@psihoexpert.ro>

Change Summary

Incremental Difference

--- a/multimedia/tvheadend/Config.in
+++ b/multimedia/tvheadend/Config.in
@@ -3,10 +3,10 @@ comment "Generic options"
33
44 config TVHEADEND_OPTIMIZE_SPEED
55 bool "Optimize for speed"
6- depends on PACKAGE_tvheadend
6+ depends on PACKAGE_tvheadend && (arm || aarch64 || x86_64)
77 default n
88 help
9- Optimize tvheadend for speed instead of size. This option adds -O2 and LTO (Link Time Optimization).
9+ Optimize tvheadend for speed instead of size. This option adds -O3 and LTO (Link Time Optimization).
1010 Note: No benchmarks were performed when this option was added. Speed improvements (if any) are not known.
1111
1212 config TVHEADEND_TRACE
Show on old repository browser