mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-24 14:03:29 +08:00
95e9a681e7
Signed-off-by: Erico Nunes <nunes.erico@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
80 lines
2.6 KiB
Diff
80 lines
2.6 KiB
Diff
From feb05271b484b158c14611839f968109e9cf3082 Mon Sep 17 00:00:00 2001
|
|
From: Erico Nunes <nunes.erico@gmail.com>
|
|
Date: Fri, 12 Aug 2016 23:11:56 +0200
|
|
Subject: [PATCH] fwts: do not use -Werror
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Warnings come and go with various compiler versions, so using -Werror is
|
|
prone to cause build failures with various compiler versions, especially
|
|
newer versions that introduce new warnings.
|
|
|
|
Remove use of -Werror.
|
|
|
|
Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
|
|
[Fabrice: updated for 20.08.00]
|
|
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
|
[Vincent: rebased onto V21.05.00]
|
|
Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
|
|
---
|
|
configure.ac | 2 +-
|
|
src/Makefile.am | 2 +-
|
|
src/lib/src/Makefile.am | 2 +-
|
|
src/utilities/Makefile.am | 2 +-
|
|
4 files changed, 4 insertions(+), 4 deletions(-)
|
|
|
|
diff --git a/configure.ac b/configure.ac
|
|
index ca2f54e2..ed584abf 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -1,5 +1,5 @@
|
|
AC_INIT([fwts],[0.1],[fwts-devel@lists.ubuntu.com])
|
|
- AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
|
|
+ AM_INIT_AUTOMAKE([-Wall foreign subdir-objects])
|
|
m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
|
|
AC_CANONICAL_HOST
|
|
AC_CONFIG_MACRO_DIR([m4])
|
|
diff --git a/src/Makefile.am b/src/Makefile.am
|
|
index 3bb35e5c..e9fe92fe 100644
|
|
--- a/src/Makefile.am
|
|
+++ b/src/Makefile.am
|
|
@@ -13,7 +13,7 @@ AM_CPPFLAGS = \
|
|
-I$(top_srcdir)/efi_runtime \
|
|
-I$(top_srcdir)/smccc_test \
|
|
-pthread \
|
|
- -Wall -Werror -Wextra \
|
|
+ -Wall -Wextra \
|
|
-Wno-address-of-packed-member \
|
|
-Wfloat-equal -Wmissing-declarations \
|
|
-Wno-long-long -Wredundant-decls -Wshadow \
|
|
diff --git a/src/lib/src/Makefile.am b/src/lib/src/Makefile.am
|
|
index d5d53dd7..76c48d4d 100644
|
|
--- a/src/lib/src/Makefile.am
|
|
+++ b/src/lib/src/Makefile.am
|
|
@@ -22,7 +22,7 @@ AM_CPPFLAGS = \
|
|
-I$(top_srcdir)/src/acpica/source/include \
|
|
-I$(top_srcdir)/src/acpica/source/compiler \
|
|
-DDATAROOTDIR=\"$(datarootdir)\" \
|
|
- -Wall -Werror -Wextra \
|
|
+ -Wall -Wextra \
|
|
-Wno-address-of-packed-member
|
|
|
|
pkglib_LTLIBRARIES = libfwts.la
|
|
diff --git a/src/utilities/Makefile.am b/src/utilities/Makefile.am
|
|
index de38f070..785975ff 100644
|
|
--- a/src/utilities/Makefile.am
|
|
+++ b/src/utilities/Makefile.am
|
|
@@ -16,7 +16,7 @@
|
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
#
|
|
|
|
-AM_CPPFLAGS = -Wall -Werror -Wextra -DDATAROOTDIR=\"$(datarootdir)\" \
|
|
+AM_CPPFLAGS = -Wall -Wextra -DDATAROOTDIR=\"$(datarootdir)\" \
|
|
-I$(srcdir)/../lib/include
|
|
|
|
bin_PROGRAMS = kernelscan
|
|
--
|
|
2.36.1
|
|
|