build: remove check for gettimeofday & librt

This commit is contained in:
fanquake 2023-07-11 11:56:55 +01:00
parent 357e3f6aa4
commit e64e17830a
No known key found for this signature in database
GPG Key ID: 2EEB9F5CC09526C1

View File

@ -919,8 +919,6 @@ if test "$ac_cv_sys_large_files" != "" &&
CORE_CPPFLAGS="$CORE_CPPFLAGS -D_LARGE_FILES=$ac_cv_sys_large_files"
fi
AC_SEARCH_LIBS([clock_gettime],[rt])
if test "$enable_gprof" = "yes"; then
dnl -pg is incompatible with -pie. Since hardening and profiling together doesn't make sense,
dnl we simply make them mutually exclusive here. Additionally, hardened toolchains may force