3 Mar
2025
3 Mar
'25
10:27 p.m.
Alfred Agrell (@Alcaro) commented about tools/lto.h:
+ */ + +#ifndef __WINE_LTO_H +#define __WINE_LTO_H + +#ifndef __WINE_TOOLS_H +# error You must include tools.h to use this header +#endif + + +__attribute__((used)) +static void append_lto_flags( struct strarray *args, int with_lto, int prefer_env ) +{ + if (with_lto < 0) return; + + while (prefer_env > 0) I'm sure there's a better way to structure this than a `while` that always ends with break or return.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/7111#note_96684