xbps-src clang support? #45118
Answered
by
classabbyamp
15zemlekop
asked this question in
Q&A
-
What should I do if I want to use clang instead of gcc to build packages with xbps-src? |
Beta Was this translation helpful? Give feedback.
Answered by
classabbyamp
Jul 21, 2023
Replies: 2 comments 2 replies
-
In general, this is not really supported by xbps-src. You can build specific packages with clang by adding |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
15zemlekop
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In general, this is not really supported by xbps-src. You can build specific packages with clang by adding
clang
to thehostmakedepends
of the package, puttingCC="clang"
in the template, and it will probably work. Cross-compiling with clang would probably take a lot more work.