diff options
author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2017-03-23 20:37:00 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-03-25 14:55:24 +0100 |
commit | 00968bcac0674250956e99b6fafbf9b373446488 (patch) | |
tree | 6e0b3f3176d4bb83ae97d92971fe1c55fab18dee /package/ntp/ntp.mk | |
parent | 5408fc925d06d5225a6ba7d18f71fc97cc3a813a (diff) | |
download | buildroot-00968bcac0674250956e99b6fafbf9b373446488.tar.gz buildroot-00968bcac0674250956e99b6fafbf9b373446488.zip |
package/ntp: fix build for toolchains without ssp
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@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/ntp/ntp.mk')
-rw-r--r-- | package/ntp/ntp.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/package/ntp/ntp.mk b/package/ntp/ntp.mk index b6eb1b1863..e3e53a803f 100644 --- a/package/ntp/ntp.mk +++ b/package/ntp/ntp.mk @@ -23,6 +23,12 @@ NTP_CONF_OPTS = \ # 0002-ntp-syscalls-fallback.patch NTP_AUTORECONF = YES +ifeq ($(BR2_TOOLCHAIN_HAS_SSP),y) +NTP_CONF_OPTS += --with-locfile=linux +else +NTP_CONF_OPTS += --with-locfile=default +endif + ifeq ($(BR2_PACKAGE_LIBCAP),y) NTP_CONF_OPTS += --enable-linuxcaps NTP_DEPENDENCIES += libcap |