Re: Incorrect processor define on Apple M1
Thomas Braun via omniORB-list <[email protected]> Fri, 28 Apr 2023 21:41:51 +0200
| Newsgroups | gmane.comp.corba.omniorb.user |
|---|---|
| Message-ID | <[email protected]> |
Am 16.04.2023 um 16:41 schrieb Duncan Grisby: > On Sat, 2023-04-15 at 16:40 +0200, Thomas Braun via omniORB-list wrote: > > [...] >>> Or is it that the definition of __arm__ somehow breaks some other >>> code >>> that is not in omniORB? >> >> Yes this is the problem. PROCESSOR_DEFINE is used in >> contrib/pkgconfig/omnithread.pc.in and include/omniconfig.h.in. > > That makes sense. > > The processor and platform defines are a legacy thing from long ago > where some of the target platforms did not define them automatically. I > think all the current platforms omniORB is used on probably do set the > necessary defines. > > I have changed things in svn so that > > 1. the .pc files no longer set them. > 2. omniconfig.h only sets processor and platform defines if nothing > is already set. > > That should resolve this situation. Can you try it please? Yes that works here. Thanks!