Sunday, 16 May 2021

Re: [Rpcemu] rpcemu-recompiler Error 1

Hi again,

Am 10.05.21 um 20:32 schrieb Frank de Bruijn:
> In article <88d15a45-a5c8-d547-4426-8307c671df4b@gmx.net>,
> Lioh Moeller <lioh.moeller@gmx.net> wrote:
>> Hi again,
>
>> I have figured out that the error only occurs if:
>
>> CONFIG += debug_and_release dynarec
>
>> is set.
>
>> Greetings
>> Lioh
>
> GCC 10 issue. A fix is mentioned here:
>
> http://www.riscos.info/pipermail/rpcemu/2020-June/002912.html
>
> Adding -fcommon to the build flags appears to work.

Thanks for the hint. I have tried this:

make CFLAGS='-fcommon' LDFLAGS='-fcommon'

without success. I have also tried to define them directly in the
Makefile like:

export CFLAGS = -fcommon
export LDFLAGS = -fcommon

With the same result. Could you please point out the correct way to
specify the build flags?

Greetings
Lioh

No comments:

Post a Comment