You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
66 lines
2.1 KiB
66 lines
2.1 KiB
From 85f27bc6dcd8c7f1479dce259713540f1d1a888c Mon Sep 17 00:00:00 2001
|
|
From: orbea <orbea@riseup.net>
|
|
Date: Tue, 10 May 2022 21:11:29 -0700
|
|
Subject: [PATCH 2/2] build: Remove -Werror
|
|
|
|
---
|
|
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 7ee5604..4d2960e 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 e2180e7..eee8b49 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 94bfcdf..390326a 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 a7d9b9c..2356af3 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.35.1
|
|
|