Project

General

Profile

Bug #4870

textrels from bundle.o due to missing CFLAGS

Added by Rich Felker almost 2 years ago. Updated almost 2 years ago.

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.

Associated revisions

Revision 511fddc4 (diff)
Added by Jaroslav Kysela almost 2 years ago

Makefile: Add CFLAGS for timestamp and bundle objects, fixes #4870

Revision f69619a8 (diff)
Added by Jaroslav Kysela over 1 year ago

Makefile: Add CFLAGS for timestamp and bundle objects, fixes #4870

History

#1

Updated by Jaroslav Kysela almost 2 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Also available in: Atom PDF