[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gm2-6.4.0 ignore LDFLAGS
From: |
Gaius Mulley |
Subject: |
Re: gm2-6.4.0 ignore LDFLAGS |
Date: |
Mon, 11 May 2020 09:05:45 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
john o goyo <address@hidden> writes:
> Greetings, Gaius.
>
> On 05/07/20 05:29, Gaius Mulley wrote:
>> john o goyo <address@hidden> writes (in part):
>> The build of gm2 fails at pg. On Solaris, recv() and friends reside
>> in the nsl and socket libraries. These libraries were added to
>> LDFLAGS but these flags are ignored in the build of ppg.
>
>> [...]
>> Hello John,
>>
>> sure the Makefile fragment in:
>>
>> gcc/gm2/Make-lang.in:2130
>>
>> gm2/ppg$(exeext): gm2/boot-bin/mc $(BUILD-PPG-O) $(BUILD-MC-INTERFACE-O)
>> gm2/gm2-ppg-boot/main.o
>> $(CC) -g -o $@ $(BUILD-PPG-O) gm2/gm2-ppg-boot/main.o -lm -lpth
>>
>> with the $(CC) recipe
> Forgive me, Gaius, but what did you mean by the above? Are you
> suggesting adding $(LDFLAGS) to CC or the end of the CC line?
Hello John,
yes I was wondering if the lines:
$(CC) etc contain $(LDFLAGS) at the end
whether the Solaris build completes?
regards,
Gaius