gnu-efi/0019-Nerf-Werror-pragma-away.patch
Peter Jones f458757d86 Update to 3.0.7 (from git) and add some pending patches we need.
Signed-off-by: Peter Jones <pjones@redhat.com>
2018-03-13 15:22:36 -04:00

26 lines
603 B
Diff

From caef829abc431a694d6e231705eb013366658865 Mon Sep 17 00:00:00 2001
From: Peter Jones <pjones@redhat.com>
Date: Tue, 7 Mar 2017 10:11:19 -0500
Subject: [PATCH 19/22] Nerf -Werror=pragma away
---
Make.defaults | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Make.defaults b/Make.defaults
index 4aa57ac5f7c..ed4b60c2423 100755
--- a/Make.defaults
+++ b/Make.defaults
@@ -87,6 +87,8 @@ OBJDIR := $(TOPDIR)/$(ARCH)
# Arch-specific compilation flags
CPPFLAGS += -DCONFIG_$(ARCH)
+CFLAGS += -Wno-error=pragmas
+
ifeq ($(ARCH),ia64)
CFLAGS += -mfixed-range=f32-f127
endif
--
2.14.3