[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: emulators/mame not linking on sparc64
On Mon, Aug 24, 2020 at 12:27:50AM +0200, Connor McLaughlan wrote:
> On Sun, Aug 23, 2020 at 2:56 PM Martin Husemann <martin%duskware.de@localhost> wrote:
> > On Sun, Aug 23, 2020 at 02:41:04PM +0200, Connor McLaughlan wrote:
> > > imgui_draw.cpp:(.text+0x2dc8): warning: Warning: reference to the libc
> > > supplied alloca(3); this most likely will not work. Please use the
> > > compiler provided version of alloca(3), by supplying the appropriate
> > > compiler flags (e.g. not -std=c89).
> > This hint is the correct way to fix it - check for the -std=... arg
> > supplied by the makefile and replace it with -std=gnu....
> > Example: -std=c99 becomes -std=gnu99
> > Martin
> Except mame is a most complex project and i have no idea where i
> should change what, as there is no makefile anywhere near
You can try adding to the pkgsrc Makefile:
BUILDLINK_TRANSFORM+= opt:-std=c89:-std=gnu90 # alloca
BUILDLINK_TRANSFORM+= opt:-std=c99:-std=gnu99 # alloca
> I guess i have to recompile it after these changes? Or can i still try
> to link it with different settings now?
Main Index |
Thread Index |