Community maintained packages for ImmortalWrt.
Revision | 149053198146a8821e8c12d7c7fce8c3a175c5b7 (tree) |
---|---|
Time | 2022-12-04 04:31:55 |
Author | Marius Dinu <m95d+git@psih...> |
Commiter | Rosen Penev |
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>
@@ -3,10 +3,10 @@ comment "Generic options" | ||
3 | 3 | |
4 | 4 | config TVHEADEND_OPTIMIZE_SPEED |
5 | 5 | bool "Optimize for speed" |
6 | - depends on PACKAGE_tvheadend | |
6 | + depends on PACKAGE_tvheadend && (arm || aarch64 || x86_64) | |
7 | 7 | default n |
8 | 8 | 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). | |
10 | 10 | Note: No benchmarks were performed when this option was added. Speed improvements (if any) are not known. |
11 | 11 | |
12 | 12 | config TVHEADEND_TRACE |