Repository navigation
Makefile fixes - #153
Makefile fixes#153
Conversation
nojb
left a comment
There was a problem hiding this comment.
Don't know about the sed change and have not tested, but otherwise LGTM
349242d to
f2c42da
Compare
|
Thanks. I've added support for The
it also has this note:
so perhaps |
4879b90 to
9e53406
Compare
|
I think I've finally converged and haven't missed anything anymore. |
9e53406 to
a90b35b
Compare
a90b35b to
f3351c5
Compare
famous last words |
Are you confident on your testing @MisterDA? If yes, I would say we can move to merge. |
This allows choosing clang-cl instead of cl.exe as the default compiler.
This allows using llvm-rc instead of rc.exe, or llvm-windres instead of GNU windres. Libtool uses the RC variable to allow users choosing an alternative windres.
BSD sed doesn't support \| for alternation (see POSIX § 9.4.7 ERE Alternation). sed -E is POSIX 2024, but quite portable.
f3351c5 to
1a1b831
Compare
With David's review and my latest tests, I am now. |
This PR allows users to:
MSVCandMSVC64variables to Make when building FlexDLL to allow choosing an alternativecl.exe-like compiler, say,clang-cl;RCto choose an alternative resource compiler (likerc.exeorwindres), sayllvm-rcorllvm-windres;MINCC,MIN64CC,CYG64CCto choose (respectively) an alternative MinGW-w64 (32 bits), MinGW-w64 (64 bits), Cygwin (64 bits) compiler. Their triplet prefix can be overridden with (respectively)MINCC_PREFIX,MIN64CC_PREFIX,CYG64_PREFIX.It has also two Makefile fixes: one to support POSIX (really BSD) sed (looking at you, macOS!) and one to add missing OCaml versions when processing
Compat.ml.inintoCompat.ml.