Skip to content

Commit

Permalink
tvheadend: add conditions for -O3 and LTO optimizations
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
M95D authored and neheb committed Dec 3, 2022
1 parent 865412c commit 1490531
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions multimedia/tvheadend/Config.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ comment "Generic options"

config TVHEADEND_OPTIMIZE_SPEED
bool "Optimize for speed"
depends on PACKAGE_tvheadend
depends on PACKAGE_tvheadend && (arm || aarch64 || x86_64)
default n
help
Optimize tvheadend for speed instead of size. This option adds -O2 and LTO (Link Time Optimization).
Optimize tvheadend for speed instead of size. This option adds -O3 and LTO (Link Time Optimization).
Note: No benchmarks were performed when this option was added. Speed improvements (if any) are not known.

config TVHEADEND_TRACE
Expand Down

0 comments on commit 1490531

Please sign in to comment.