summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2023-06-05 12:20:12 -0400
committerMike Gilbert <floppym@gentoo.org>2023-06-05 12:20:12 -0400
commite224dd523ebe4fd061e3137c24e9dcd4788a65a2 (patch)
tree75f79aef112217a2ff414596544786383838af62 /net-misc/ntp
parentapp-misc/datovka: drop 4.21.0 (diff)
downloadgentoo-e224dd523ebe4fd061e3137c24e9dcd4788a65a2.tar.gz
gentoo-e224dd523ebe4fd061e3137c24e9dcd4788a65a2.tar.bz2
gentoo-e224dd523ebe4fd061e3137c24e9dcd4788a65a2.zip
net-misc/ntp: pass --with-hardenfile=/dev/null to configure
The NTP build system has a script that adds platform-specific "hardening" flags to CFLAGS. Disable this behavior and respect the user's CFLAGS. Closes: https://bugs.gentoo.org/895802 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'net-misc/ntp')
-rw-r--r--net-misc/ntp/ntp-4.2.8_p16-r1.ebuild (renamed from net-misc/ntp/ntp-4.2.8_p16.ebuild)3
1 files changed, 3 insertions, 0 deletions
diff --git a/net-misc/ntp/ntp-4.2.8_p16.ebuild b/net-misc/ntp/ntp-4.2.8_p16-r1.ebuild
index 8ab34a0081da..bcd2887e326e 100644
--- a/net-misc/ntp/ntp-4.2.8_p16.ebuild
+++ b/net-misc/ntp/ntp-4.2.8_p16-r1.ebuild
@@ -82,6 +82,9 @@ src_configure() {
# Increase the default memlimit from 32MiB to 128MiB, bug #533232
--with-memlock=256
+ # Avoid overriding the user's toolchain settings, bug #895802
+ --with-hardenfile=/dev/null
+
$(use_enable caps linuxcaps)
$(use_enable parse-clocks)
$(use_enable ipv6)