[Buildroot] [PATCH 1/1] package/ntp: fix build for toolchains without ssp

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Mar 25 13:56:19 UTC 2017


Hello,

On Thu, 23 Mar 2017 20:37:00 +0100, Bernd Kuhls wrote:
> ntp defaults to use ssp support
> http://bk1.ntp.org/ntp-stable/sntp/harden/README
> 
> by using these flags
> http://bk1.ntp.org/ntp-stable/sntp/harden/linux
> 
> If the toolchain lacks SSP support this patch forces ntp to use an
> empty set of flags: http://bk1.ntp.org/ntp-stable/sntp/harden/default
> 
> Fixes
> http://autobuild.buildroot.net/results/1d5/1d58bd8745b22c8eb71fea4c7255d3ace69f6f7a/
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
> ---
>  package/ntp/ntp.mk | 6 ++++++
>  1 file changed, 6 insertions(+)

I've applied to fix the immediate build issues. However, I'm wondering
if we shouldn't use --with-locfile=default unconditionally, and let
Buildroot decide what CFLAGS are appropriate.

What do you think?

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list