[gnutls-devel] GnuTLS | Allow statically linking ncrypt (win32) (!1254)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Mon May 25 20:44:06 CEST 2020




Dmitry Baryshkov started a new discussion on .gitlab-ci.yml: https://gitlab.com/gnutls/gnutls/-/merge_requests/1254#note_348558716

>        - win64-build/
>    retry: 1
>  
> +MinGW64.Vista:
> +  stage: stage1-testing
> +  image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$MINGW_BUILD
> +  script:
> +  - ./bootstrap
> +  - export CC="ccache x86_64-w64-mingw32-gcc"
> + # Target Vista instead of XP, currently the default in mingw
> +  - export CFLAGS="-D_WIN32_WINT=0x600"
> +  - export CXXFLAGS="$CFLAGS"

Great!
However if you replace these two lines (`CFLAGS`/`CXXFLAGS`) with just `export CPPFLAGS=-DWIN32_WINNT=0x600`, will it work? `configure` tends to set `CFLAGS` to sane default (`-g -O2`) if it is not set.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1254#note_348558716
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20200525/7734eb3d/attachment-0001.html>


More information about the Gnutls-devel mailing list