Commit 4b09142
committed
recore: fix ATF v2.8.0 build - drop -Wl, prefix from LD flag
recore pins ATF v2.8.0, whose Makefile passes TF_LDFLAGS directly to
ld.bfd rather than through gcc. The framework's default
'-Wl,--no-warn-rwx-segment' is therefore rejected by the linker:
ld.bfd: unrecognized option '-Wl,--no-warn-rwx-segment'
Set ATF_SKIP_LDFLAGS_WL=yes so the bare --no-warn-rwx-segment is passed
instead (ld.bfd accepts it as an abbreviation of --no-warn-rwx-segments).
The flag itself is retained to suppress the binutils 2.39+ RWX-segment
warning. Same knob already used by genio/imx93/phytiumpi/nuvoton.
Signed-off-by: Igor Pecovnik <igor@armbian.com>1 parent 54e6189 commit 4b09142
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
17 | 21 | | |
18 | 22 | | |
19 | 23 | | |
| |||
0 commit comments