diff options
author | Baruch Siach <baruch@tkos.co.il> | 2018-03-07 08:59:41 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2018-03-30 21:06:39 +0200 |
commit | 7cb200323b4338b5072e84a4c4fad3a85fa5fd48 (patch) | |
tree | 8147e1a95d8ac971d2eb328478bb95ee075dd7d0 | |
parent | 6fae0a55e62994e25c04b90844d6c2e1f552c9b7 (diff) | |
download | buildroot-7cb200323b4338b5072e84a4c4fad3a85fa5fd48.tar.gz buildroot-7cb200323b4338b5072e84a4c4fad3a85fa5fd48.zip |
ntp: fix build without SSP support
In version 4.2.8p11 ntp changed its configure script build hardening
parameter to '--with-hardenfile'. Update the parameter name to avoid
-fstack-protector-all when the toolchain does not support this option.
Fixes:
http://autobuild.buildroot.net/results/60e/60e8b9864932f2cabc7deb43234abe168bd113c5/
http://autobuild.buildroot.net/results/592/592db6836817bb078a2f1146d2ce6241bf7997a3/
http://autobuild.buildroot.net/results/b07/b070fbc66a928888df8d2561dad3632778d55e0d/
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 5766b6fb34a897092092f7d76d6b4f2bc8c48571)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r-- | package/ntp/ntp.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/ntp/ntp.mk b/package/ntp/ntp.mk index 1f66ad996b..b5e2c1e026 100644 --- a/package/ntp/ntp.mk +++ b/package/ntp/ntp.mk @@ -30,9 +30,9 @@ NTP_CONF_OPTS += --without-crypto --disable-openssl-random endif ifeq ($(BR2_TOOLCHAIN_HAS_SSP),y) -NTP_CONF_OPTS += --with-locfile=linux +NTP_CONF_OPTS += --with-hardenfile=linux else -NTP_CONF_OPTS += --with-locfile=default +NTP_CONF_OPTS += --with-hardenfile=default endif ifeq ($(BR2_PACKAGE_LIBCAP),y) |