Bug #4870
textrels from bundle.o due to missing CFLAGS
Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2018-01-18
Due date:
% Done:
100%
Estimated time:
Found in version:
4.3
Affected Versions:
Description
The Makefile builds bundle.o without $(CFLAGS), leading to textrels if the whole program is being built as PIE. Depending on the target, textrels may not be supported at all, resulting in failure of the program to run. It looks like timestamp.o and build.o may also be affected. This was reported by a LEDE user building for ARM with musl libc. Simply adding $(CFLAGS) to the $(pCC) command lines that are currently missing it should fix the problem.
History
Updated by Jaroslav Kysela almost 6 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset commit:tvheadend|511fddc480c11ba55c9078e54884b584430dc41e.