[PATCH 4/4] winegcc: Support delayload on LLVM toolchain.

Jacek Caban jacek at codeweavers.com
Mon Oct 7 11:54:41 CDT 2019


We use -Wl,-Xlink=-delayload instead of -Wl,-delayload because the later 
causes only warning on binutils ld, so we can't easily use it to detect 
if the feature is present.

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
---

This is the main remaining problem with llvm-mingw builds. On top of 
that, unpatched Wine can be build with llvm-mingw paired with git llvm 
version. CROSSCFLAGS="-fno-builtin-exp2" configure argument is still 
required to work around wine crt limitations. I use CROSSCFLAGS="-g 
-fno-builtin-exp2 -Wno-incompatible-library-redeclaration" for better 
experience.

  tools/winegcc/winegcc.c | 33 +++++++++++++++++++++++++--------
  1 file changed, 25 insertions(+), 8 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-winegcc-Support-delayload-on-LLVM-toolchain.txt
Type: text/x-patch
Size: 4791 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20191007/d13c390b/attachment.bin>


More information about the wine-devel mailing list