Re: [PATCH v2 1/1] sandbox: fix build failure with musl and SDL

2022-02-08 Thread Simon Glass
On 2/8/22 16:16, Simon Glass wrote: > On Sat, 29 Jan 2022 at 07:17, Heinrich Schuchardt > wrote: >> >> >> >> On 1/28/22 10:08, Heinrich Schuchardt wrote: >>> sdl.c is compiled against the SDL library. >>> >>> Trying to redefine wchar_t with -fshort-wchar is not necessary >>> and leads to build fai

Re: [PATCH v2 1/1] sandbox: fix build failure with musl and SDL

2022-02-08 Thread Heinrich Schuchardt
On 2/8/22 16:16, Simon Glass wrote: On Sat, 29 Jan 2022 at 07:17, Heinrich Schuchardt wrote: On 1/28/22 10:08, Heinrich Schuchardt wrote: sdl.c is compiled against the SDL library. Trying to redefine wchar_t with -fshort-wchar is not necessary and leads to build failures when compiling aga

Re: [PATCH v2 1/1] sandbox: fix build failure with musl and SDL

2022-02-08 Thread Simon Glass
On Sat, 29 Jan 2022 at 07:17, Heinrich Schuchardt wrote: > > > > On 1/28/22 10:08, Heinrich Schuchardt wrote: > > sdl.c is compiled against the SDL library. > > > > Trying to redefine wchar_t with -fshort-wchar is not necessary > > and leads to build failures when compiling against musl. > > > > C

Re: [PATCH v2 1/1] sandbox: fix build failure with musl and SDL

2022-01-29 Thread Heinrich Schuchardt
On 1/28/22 10:08, Heinrich Schuchardt wrote: sdl.c is compiled against the SDL library. Trying to redefine wchar_t with -fshort-wchar is not necessary and leads to build failures when compiling against musl. Cc: Milan P. Stanić Signed-off-by: Heinrich Schuchardt --- v2: fix a build

[PATCH v2 1/1] sandbox: fix build failure with musl and SDL

2022-01-28 Thread Heinrich Schuchardt
sdl.c is compiled against the SDL library. Trying to redefine wchar_t with -fshort-wchar is not necessary and leads to build failures when compiling against musl. Cc: Milan P. Stanić Signed-off-by: Heinrich Schuchardt --- v2: fix a build error with clang by adding -fno-lto for building