* Change versioned Conflicts from grub-common and grub2-common into Breaks
or Breaks+Replaces as appropriate.
* Remove pragmas related to -Wunreachable-code (closes: #812047).
+ * Temporarily work around arm64 build failure with gcc-5 >= 5.3.1-4 using
+ -mpc-relative-literal-loads.
[ Didier Roche ]
* Use new plymouth theme path to set grub theme configuration.
export HOST_LDFLAGS
export TARGET_CPPFLAGS := -Wno-unused-but-set-variable
+ifeq ($(DEB_HOST_ARCH),arm64)
+# Work around unsupported relocations as reported in
+# https://lists.gnu.org/archive/html/grub-devel/2015-12/msg00092.html; see
+# also:
+# https://bugs.launchpad.net/bugs/1533009
+export TARGET_CFLAGS := -Os -mpc-relative-literal-loads
+endif
+
ifeq (,$(shell which qemu-system-i386 2>/dev/null))
with_check := no
else