[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nano-devel] [PATCH] build: prevent -Werror from interfering with config
From: |
Benno Schulenberg |
Subject: |
[Nano-devel] [PATCH] build: prevent -Werror from interfering with configure checks |
Date: |
Tue, 21 Jun 2016 12:22:15 +0200 |
This fixes https://savannah.gnu.org/bugs/?48262.
---
configure.ac | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/configure.ac b/configure.ac
index 9eec18d..2c637d3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -28,6 +28,10 @@ dnl Make sure the ONCE macros are available.
AC_PREREQ(2.61)
+dnl Suppress all compilation warnings, to disarm a possible -Werror.
+
+CFLAGS="$CFLAGS -w"
+
dnl Checks for programs.
AC_GNU_SOURCE
--
2.8.4
- [Nano-devel] [PATCH] build: prevent -Werror from interfering with configure checks,
Benno Schulenberg <=