Page MenuHomeFreeBSD

Add -mno-relax to CFLAGS in bsd.prog/lib.mk instead of bsd.cpu.mk.
ClosedPublic

Authored by jhb on Jan 7 2020, 10:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 26, 4:36 PM
Unknown Object (File)
Sat, Oct 26, 4:36 PM
Unknown Object (File)
Sat, Oct 26, 4:36 PM
Unknown Object (File)
Sat, Oct 26, 4:17 PM
Unknown Object (File)
Mon, Oct 21, 12:27 PM
Unknown Object (File)
Oct 2 2024, 6:37 AM
Unknown Object (File)
Sep 29 2024, 10:00 PM
Unknown Object (File)
Sep 18 2024, 4:59 PM
Subscribers

Details

Summary

bsd.cpu.mk is included by bsd.init.mk before bsd.linker.mk, so it
was always setting the flag since LINKER_FEATURES wasn't defined.

Reported by: mhorne

Test Plan
  • built and world + kernel with clang + lld and booted it in qemu

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable