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
CFLAGSoptions via environment variableCURL_CFLAG_EXTRAS(the name comes frommakefile.amwhere it serves a similar purpose). Default and automatically added options ofmakefile.m32have 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.