Hi,

Interesting that MSFT hasn't been able to document this flag for almost 4 years:

https://developercommunity.visualstudio.com/t/document-brepro-flag/731265

I checked that the flag is indeed passed to the linker command line but haven't
tested that binaries are indeed identical.

Acked-by: Lev Stipakov <lstipa...@gmail.com>


ti 20. kesäk. 2023 klo 16.54 Frank Lichtenheld (fr...@lichtenheld.com)
kirjoitti:
>
> So that we get reproducible builds.
>
> Change-Id: Iffdd3ac5f266cc7d592ab678afc14c122acbb351
> Signed-off-by: Frank Lichtenheld <fr...@lichtenheld.com>
> ---
>  CMakeLists.txt | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/CMakeLists.txt b/CMakeLists.txt
> index bdbc87b8..3cbba5a3 100644
> --- a/CMakeLists.txt
> +++ b/CMakeLists.txt
> @@ -56,6 +56,7 @@ if (MSVC)
>          "$<$<CONFIG:Release>:/Zi>"
>          )
>      add_link_options(
> +        /Brepro
>          "$<$<CONFIG:Release>:/LTCG:incremental>"
>          "$<$<CONFIG:Release>:/DEBUG:FULL>"
>          "$<$<CONFIG:Release>:/OPT:REF>"
> --
> 2.34.1
>
>
>
> _______________________________________________
> Openvpn-devel mailing list
> Openvpn-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openvpn-devel



-- 
-Lev


_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to