Re: powerpc64: Target Info in clang for __OpenBSD__

2020-05-19 Thread Dale Rahn
On Tue, May 19, 2020 at 11:36:23PM +0200, Patrick Wildt wrote: > Hi, > > drahn@ was complaining to me that his cross-compiler wasn't defining > __OpenBSD__ or __ELF__, and I think the fix is pretty simple. We're > just missing a case in a switch-case. > > The .cpp file itself still compiles, but

Re: powerpc64: Target Info in clang for __OpenBSD__

2020-05-19 Thread Mark Kettenis
> Date: Tue, 19 May 2020 23:36:23 +0200 > From: Patrick Wildt > > Hi, > > drahn@ was complaining to me that his cross-compiler wasn't defining > __OpenBSD__ or __ELF__, and I think the fix is pretty simple. We're > just missing a case in a switch-case. > > The .cpp file itself still compiles,

powerpc64: Target Info in clang for __OpenBSD__

2020-05-19 Thread Patrick Wildt
Hi, drahn@ was complaining to me that his cross-compiler wasn't defining __OpenBSD__ or __ELF__, and I think the fix is pretty simple. We're just missing a case in a switch-case. The .cpp file itself still compiles, but I haven't built a full clang with it. Please give it a go and report back.