[Buildroot] [PATCH] openssh: fix static linking
ANDY KENNEDY
ANDY.KENNEDY at adtran.com
Tue Sep 9 19:17:37 UTC 2014
> > -OPENSSH_CONF_ENV = LD="$(TARGET_CC)" LDFLAGS="$(TARGET_CFLAGS)"
> > +OPENSSH_CONF_ENV = LD="$(TARGET_CC)"
> > OPENSSH_CONF_OPT = --disable-lastlog --disable-utmp \
> > +OPENSSH_CONFIGURE_ENV += LDFLAGS="$(OPENSSH_LDFLAGS_FOR_CONF)"
>
> Shouldn't this be OPENSSH_CONF_ENV? Have you tested this?
>
> baruch
Yes, and yes. Hmmm, that's strange. Kinda makes me wonder why
that worked at all. Made that modification and retesting.
Like I said in the other thread, this works about once out of
three times anyway. So, maybe I didn't do what I thought I did.
I assume that the LDFLAGS=$(TARGET_CFLAGS) are needed, and that
it _could_ break the build on other platforms. I don't understand
why that would have worked for this particular platform I'm on.
I'll resubmit when I verify the fix.
Andy
More information about the buildroot
mailing list