-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
mingw build: allow to pass custom CFLAGS #136
Conversation
Hi Viktor,
Günter. |
Indeed, very sorry, corrected it. |
On 09.01.2015 21:03, Viktor Szakáts wrote:
Günter. |
There is one new-line after the last line, which should be enough to make editors and git happy. Before the edit there were three of them. Are you sure that is necessary? Before the edit:
After the edit:
|
On 09.01.2015 21:54, Viktor Szakáts wrote:
Günter. |
mingw build: allow to pass custom CFLAGS
Allow to pass custom `CFLAGS` options via environment variable `LIBSSH2_CFLAG_EXTRAS`. Default and automatically added options of `GNUmakefile` have preference over custom ones. This addition is useful for passing f.e. custom CPU tuning or LTO optimization (`-flto -ffat-lto-objects`) options. The only current way to do this is to edit `GNUmakefile`. This patch makes it unnecessary. This is a mirror of similar libcurl patch: curl/curl#136
Allow to pass custom `CFLAGS` options via environment variable `LIBSSH2_CFLAG_EXTRAS`. Default and automatically added options of `GNUmakefile` have preference over custom ones. This addition is useful for passing f.e. custom CPU tuning or LTO optimization (`-flto -ffat-lto-objects`) options. The only current way to do this is to edit `GNUmakefile`. This patch makes it unnecessary. This is a mirror of similar libcurl patch: curl/curl#136
Allow to pass custom
CFLAGS
options via environment variableCURL_CFLAG_EXTRAS
(the name comes frommakefile.am
where it serves a similar purpose). Default and automatically added options ofmakefile.m32
have preference over custom ones. This addition is useful for passing f.e. custom CPU tuning or LTO optimization (-flto -ffat-lto-objects
) options. The only current way to do this is to editmakefile.m32
. This patch makes it unnecessary.