Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

makefile.m32: allow to override gcc, ar and ranlib #214

Closed
wants to merge 1 commit into from
Closed

makefile.m32: allow to override gcc, ar and ranlib #214

wants to merge 1 commit into from

Conversation

vszakats
Copy link
Member

Allow to ovverride certain build tools, making it possible to
use LLVM/Clang to build libssh2. The default behavior is unchanged.
To build with clang (as offered by MSYS2), these settings can
be used:

LIBSSH2_CC=clang
LIBSSH2_AR=llvm-ar
LIBSSH2_RANLIB=llvm-ranlib

Also adjust ranlib parameters to be compatible with LLVM/Clang's
ranlib tool.

Allow to ovverride certain build tools, making it possible to
use LLVM/Clang to build libssh2. The default behavior is unchanged.
To build with clang (as offered by MSYS2), these settings can
be used:

LIBSSH2_CC=clang
LIBSSH2_AR=llvm-ar
LIBSSH2_RANLIB=llvm-ranlib

Also adjust ranlib parameters to be compatible with LLVM/Clang's
ranlib tool.
@vszakats vszakats closed this in e41d6f4 Oct 15, 2017
@vszakats vszakats deleted the m32clang branch October 15, 2017 17:24
kbulgrien pushed a commit to kbulgrien/libssh2-1.2.4-sco3.2v5.0.7 that referenced this pull request Dec 14, 2018
Allow to ovverride certain build tools, making it possible to
use LLVM/Clang to build libssh2. The default behavior is unchanged.
To build with clang (as offered by MSYS2), these settings can
be used:

LIBSSH2_CC=clang
LIBSSH2_AR=llvm-ar
LIBSSH2_RANLIB=llvm-ranlib

Also adjust ranlib parameters to be compatible with LLVM/Clang's
ranlib tool.

Closes libssh2#214
alex-weaver pushed a commit to alex-weaver/libssh2 that referenced this pull request Mar 23, 2023
Allow to ovverride certain build tools, making it possible to
use LLVM/Clang to build libssh2. The default behavior is unchanged.
To build with clang (as offered by MSYS2), these settings can
be used:

LIBSSH2_CC=clang
LIBSSH2_AR=llvm-ar
LIBSSH2_RANLIB=llvm-ranlib

Also adjust ranlib parameters to be compatible with LLVM/Clang's
ranlib tool.

Closes libssh2#214
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant