Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | From 0ad7bba80d5b9035089ff2b2f77a774b5b201915 Mon Sep 17 00:00:00 2001 |
| 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
| 3 | Date: Wed, 26 Aug 2015 16:28:59 +0300 |
| 4 | Subject: [PATCH 5/5] dpkg-compiler.m4: remove -Wvla |
| 5 | MIME-Version: 1.0 |
| 6 | Content-Type: text/plain; charset=UTF-8 |
| 7 | Content-Transfer-Encoding: 8bit |
| 8 | |
| 9 | Remove the -Wvla flag from the set of compiler warning flags, since gcc |
| 10 | on old host systems such as CentOS 5.8 doesn't support it, and it |
| 11 | causes a build error for dpkg-native. |
| 12 | |
| 13 | Upstream-Status: Pending |
| 14 | |
| 15 | Signed-off-by: Donn Seeley <donn.seeley@windriver.com> |
| 16 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> |
| 17 | Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> |
| 18 | --- |
| 19 | m4/dpkg-compiler.m4 | 1 - |
| 20 | 1 file changed, 1 deletion(-) |
| 21 | |
| 22 | diff --git a/m4/dpkg-compiler.m4 b/m4/dpkg-compiler.m4 |
| 23 | index 682857c..23ed7d0 100644 |
| 24 | --- a/m4/dpkg-compiler.m4 |
| 25 | +++ b/m4/dpkg-compiler.m4 |
| 26 | @@ -52,7 +52,6 @@ AC_DEFUN([DPKG_CHECK_COMPILER_WARNINGS], [ |
| 27 | DPKG_CHECK_COMPILER_FLAG([-Wlogical-op]) |
| 28 | DPKG_CHECK_COMPILER_FLAG([-Wlogical-not-parentheses]) |
| 29 | DPKG_CHECK_COMPILER_FLAG([-Wswitch-bool]) |
| 30 | - DPKG_CHECK_COMPILER_FLAG([-Wvla]) |
| 31 | DPKG_CHECK_COMPILER_FLAG([-Winit-self]) |
| 32 | DPKG_CHECK_COMPILER_FLAG([-Wwrite-strings]) |
| 33 | DPKG_CHECK_COMPILER_FLAG([-Wcast-align]) |
| 34 | -- |
| 35 | 2.1.4 |
| 36 | |