summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build/configure.ac.warnings16
1 files changed, 0 insertions, 16 deletions
diff --git a/build/configure.ac.warnings b/build/configure.ac.warnings
index a72d9484a..2c4e34d1a 100644
--- a/build/configure.ac.warnings
+++ b/build/configure.ac.warnings
@@ -35,22 +35,6 @@ MAYBE_WARN="$MAYBE_WARN -erroff=E_ENUM_TYPE_MISMATCH_ARG \
dnl We also abuse the warning-flag facility to enable other compiler
dnl options. Namely, the following:
-
-dnl -flto working really needs a test link, not just a compile
-
-AC_ARG_ENABLE(lto,
- AS_HELP_STRING([--disable-lto],
- [Do not try to use Link-Time Optimization]))
-if test "x$enable_lto" != "xno"; then
- safe_MAYBE_WARN="$MAYBE_WARN"
- MAYBE_WARN="$MAYBE_WARN -flto"
- AC_TRY_LINK([],[
- int main(int argc, char **argv) { return 0; }
- ],[],[
- MAYBE_WARN="$safe_MAYBE_WARN"
- ])
-fi
-
MAYBE_WARN="$MAYBE_WARN -fno-strict-aliasing -fno-common"
dnl Also to turn various gcc/glibc-specific preprocessor checks