Skip to content

Commit

Permalink
driver: Add '-fuse-ld=lld' to HOSTLDFLAGS
Browse files Browse the repository at this point in the history
So that we don't try to invoke ld.

Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
  • Loading branch information
nathanchance committed May 14, 2019
1 parent d3796a8 commit 730028d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions driver.sh
Expand Up @@ -270,6 +270,7 @@ mako_reactor() {
HOSTCC="${CC}" \
HOSTCXX="${HOSTCXX}" \
HOSTLD="${HOSTLD:-ld}" \
HOSTLDFLAGS="${HOSTLD:+-fuse-ld=lld}" \
LD="${LD}" \
NM="${NM}" \
OBJCOPY="${OBJCOPY}" \
Expand Down

2 comments on commit 730028d

@nickdesaulniers
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the kernel fails to build hermetically without this change, then this is an issue in the upstream kernel that we should resolve. @nathanchance , can you please determine if that's the case, and if so, file a bug in our issue tracker?

@nathanchance
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes absolutely.

Please sign in to comment.