Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ld.hugetlbfs: pick an emulation if -m is not present
If -m is not passed on command line $EMU ends up empty and as result HPAGE_SIZE and SLICE_SIZE are left uninitialized. Try environment variable LDEMULATION and if it's not defined pick first from "Supported emulations" list of ld -V. Signed-off-by: Jan Stancek <[email protected]> Signed-off-by: Eric B Munson <[email protected]>
- Loading branch information