[PATCH] winebuild: Allow using clang for as command.

Jacek Caban jacek at codeweavers.com
Thu Dec 16 10:16:51 CST 2021


Since a9b5bb326a1514e2c4185633ab34b22c9bbc9863, Wine needs 
get_as_command to work without cc_command available. While as is usually 
a GCC dependency, Clang toolchains may not contain it.

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
---
I noticed it with Android builds. We could also pass --cc-cmd with 
makedep, but making winebuild more flexible seems interesting on its own.

  tools/winebuild/utils.c | 35 ++++++++++++++++++++++++++---------
  1 file changed, 26 insertions(+), 9 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-winebuild-Allow-using-clang-for-as-command.txt
Type: text/x-patch
Size: 1884 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20211216/99135efb/attachment.bin>


More information about the wine-devel mailing list