On Fri Feb 3, 2023 at 6:07 PM UTC, Jose Lombera wrote:
> The LD and LINK parts in LDLINKFLAGS is redundant.>> If this is going to be hare specific, why don't call it HARELDFLAGS> instead?
The goal isn't to be Hare-specific, it's to not conflict with C's usage
of $LDFLAGS (passing it into $CC). Another option that was floated was
$LD_LDFLAGS, but I prefer $LDLINKFLAGS. None of these options are great,
but I don't think there's anything better and I'd rather avoid
bikeshedding.
On Fri Feb 3, 2023 at 12:14 PM CST, Ember Sawady wrote:
> On Fri Feb 3, 2023 at 6:07 PM UTC, Jose Lombera wrote:> > The LD and LINK parts in LDLINKFLAGS is redundant.> >> > If this is going to be hare specific, why don't call it HARELDFLAGS> > instead?>> The goal isn't to be Hare-specific, it's to not conflict with C's usage> of $LDFLAGS (passing it into $CC). Another option that was floated was> $LD_LDFLAGS, but I prefer $LDLINKFLAGS. None of these options are great,> but I don't think there's anything better and I'd rather avoid> bikeshedding.
Maybe it's not the objective to be Hare-specific, but in practice it
will be. No other software will use this variable (and if it does,
we'll have to worry with clashes again). I'm not interested in
bikeshedding either, and have no strong opinions on this, I was just
pointing this out.
On Fri Feb 3, 2023 at 6:29 PM UTC, Jose Lombera wrote:
> Maybe it's not the objective to be Hare-specific, but in practice it> will be. No other software will use this variable (and if it does,> we'll have to worry with clashes again).
I think it makes sense to try to standardize an environment variable
that's just passed directly to $LD
[2023-02-03 18:31:11+0000] Ember Sawady:
>On Fri Feb 3, 2023 at 6:29 PM UTC, Jose Lombera wrote:>> Maybe it's not the objective to be Hare-specific, but in practice it>> will be. No other software will use this variable (and if it does,>> we'll have to worry with clashes again).>>I think it makes sense to try to standardize an environment variable>that's just passed directly to $LD
Agreed and I think I'd rather have `HARE_LDFLAGS` later on if need be,
LDFLAGS being erroneously shoved to CC isn't an issue only with Hare but also Perl,
among probably a lot of other software out there.