summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>2017-09-27 12:46:14 -0400
committerMathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>2017-09-27 12:46:14 -0400
commit52b46c08f66fb2c5525b7b6efe6c89e0455bdb34 (patch)
tree83a7036ac59f0b313b4c664d9057ac56b84be903
parent21fbf908f79c48fe0a7082465268e65d7b89d062 (diff)
downloadefi-boot-shim-52b46c08f66fb2c5525b7b6efe6c89e0455bdb34.tar.gz
efi-boot-shim-52b46c08f66fb2c5525b7b6efe6c89e0455bdb34.zip
Ignore unused-variable errors.
-rw-r--r--debian/changelog1
-rwxr-xr-xdebian/rules2
2 files changed, 3 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index e9fd3ba5..d439d761 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,7 @@ shim (13~git1505328971.0780644a-0ubuntu1~test1) UNRELEASED; urgency=medium
at compile-time for MokManager and fallback.
- Set ENABLE_SBSIGN, to use sbsign instead of pesign for signing fallback
and MokManager.
+ - Ignore unused-variable errors.
* debian/patches/second-stage-path: dropped; the default loader path now
includes an arch suffix.
* debian/patches/sbsigntool-no-pesign: dropped; no longer needed..
diff --git a/debian/rules b/debian/rules
index cf799825..3ea5da40 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,6 +25,8 @@ COMMON_OPTIONS = \
EFIDIR=$(distributor) \
$(NULL)
+CPPFLAGS += -Wno-error=unused-variable
+
%:
dh $@ --parallel