0001-Makefile-remove-Werror-to-avoid-build-failures.patch 1.1 KB

123456789101112131415161718192021222324252627
  1. From 08e14a662b9e75daec29722e49150869952ba1b6 Mon Sep 17 00:00:00 2001
  2. From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  3. Date: Mon, 20 Nov 2017 22:09:39 +0100
  4. Subject: [PATCH] Makefile: remove -Werror to avoid build failures
  5. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  6. [Matthew: Refactoring of Thomas Petazzoni's original.]
  7. Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
  8. ---
  9. Makefile | 1 -
  10. 1 file changed, 1 deletion(-)
  11. diff --git a/Makefile b/Makefile
  12. index 7231334..d9ad42b 100644
  13. --- a/Makefile
  14. +++ b/Makefile
  15. @@ -53,7 +53,6 @@ cc-option = $(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null \
  16. COMMON_CFLAGS += -g $(autodepend-flags)
  17. COMMON_CFLAGS += -Wall -Wwrite-strings -Wclobbered -Wempty-body -Wuninitialized
  18. COMMON_CFLAGS += -Wignored-qualifiers -Wunused-but-set-parameter
  19. -COMMON_CFLAGS += -Werror
  20. frame-pointer-flag=-f$(if $(KEEP_FRAME_POINTER),no-,)omit-frame-pointer
  21. fomit_frame_pointer := $(call cc-option, $(frame-pointer-flag), "")
  22. fnostack_protector := $(call cc-option, -fno-stack-protector, "")
  23. --
  24. 2.14.2