[Buildroot] Question about openssh.mk
ANDY.KENNEDY at adtran.com
Mon Sep 8 20:46:05 UTC 2014
> Yes, that's what we want to do: openssh uses $(LD) and
> $(TARGET_LDFLAGS) as if they were the compiler. In which case have you
> identified this to not work?
Okay, then it should probably be LDFAGS="$(TARGET_CFLAGS) $(TARGET_LDFLAGS)".
> No, it's not "legacy crap". TARGET_CONFIGURE_OPTS does LD=$(TARGET_LD)
Sorry! I meant no offense. :)
> and LDFLAGS=$(TARGET_LDFLAGS), assuming that the packages are really
> using $(LD) as the linker and $(LDFLAGS) as the flags for the linker.
> This is not what OpenSSH is doing, which is the reason why we override
> those variables specifically for OpenSSH.
> > Still working on it, may have an update to this later on today.
> It would be easier if you let us know about the real problem :-)
For some reason, it breaks on every third or so build. I dunno why.
Working on it. I don't even have enough info to tell you where it is
breaking (at the moment). I'll keep you advised.
It probably has something to do with the fact that I use
Though, I have built with this several times today and I only got the
error once out of three times. It is complaining that it cannot build
a shared object with openssl.a as it is statically linked.
Like I said, I don't really have enough info to tell you what is broken.
> Thanks for your report!
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux, Kernel and Android engineering
More information about the buildroot