8000 boulder: build: Pass mold via LDFLAGS by K1ngfish3r · Pull Request #905 · aerynOS/os-tools · GitHub
[go: up one dir, main page]

Skip to content

boulder: build: Pass mold via LDFLAGS - #905

Merged
ermo merged 1 commit into
aerynOS:mainfrom
K1ngfish3r:fshr/mold
Nov 6, 2026
Merged

ermo merged 1 commit into
aerynOS:mainfrom
K1ngfish3r:fshr/mold

Conversation

@K1ngfish3r
Copy link
Copy Markdown
Contributor

when -Werror is passed, builds break like so

clang: error: argument unused during compilation: '-fuse-ld=mold' [-Werror,-Wunused-command-line-argument]

so pass it though LDFLAGS instead rather than through CFLAGS/CXXFLAGS

@ermo
ermo commented Nov 4, 2026
Copy link
Copy Markdown
Member

@ReillyBrogan Yay or nay?

@K1ngfish3r
Copy link
Copy Markdown
Contributor Author

btw, is this meant to look like this?
image

almost feels like it should be under tuning...

@ReillyBrogan
Copy link
Copy Markdown
Member

btw, is this meant to look like this? image

almost feels like it should be under tuning...

It's more of a toolchain thing than a tuning thing. Mold is qualitatively different behavior-wise than ld/lld, it's not just a faster linker.

@ermo ermo left a comment
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Carrying forward Reilly's approval.

@ermo
ermo merged commit c59688c into aerynOS:main Nov 6, 2026
3 checks passed
@K1ngfish3r
K1ngfish3r deleted the fshr/mold branch November 6, 2026 17:47
Sign up for free to join t 860B his conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

0