Skip to content

How do I pass additional compiler flags to poac build command? #940

Closed Answered by yaito3014
shyamsundarb-arch asked this question in Q&A
Discussion options

You must be logged in to vote

You can either:

  • use --run option in mold like mold --run poac build, or
  • set LDFLAGS environment variable to -fuse-ld=mold, or
  • add these line to poac.toml (this lets clang produce lots of warning though)
    [profile]
    cxxflags = ["-fuse-ld=mold"]

There seems to be no other way, unfortunately.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by shyamsundarb-arch
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants