summaryrefslogtreecommitdiffstats
path: root/package/kvm-unit-tests/0001-Makefile-remove-Werror-to-avoid-build-failures.patch
diff options
context:
space:
mode:
authorMatthew Weber <matthew.weber@rockwellcollins.com>2017-12-03 14:41:18 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-12-03 14:48:16 +0100
commite6a766fd1d5adcfe4a7c86ec416150916ffcc1d6 (patch)
tree6f5efff7974f5d08c7210ff8dc485e79a6aa7543 /package/kvm-unit-tests/0001-Makefile-remove-Werror-to-avoid-build-failures.patch
parent427e070af86d7e47d03374db4b283fe0fc7a889f (diff)
downloadbuildroot-e6a766fd1d5adcfe4a7c86ec416150916ffcc1d6.tar.gz
buildroot-e6a766fd1d5adcfe4a7c86ec416150916ffcc1d6.zip
kvm-unit-tests: bump to kvm-unit-tests-20171020
- 0001-Makefile-remove-Werror-to-avoid-build-failures.patch is adjusted to apply to the new version of kvm-unit-tests - 0001-x86-hyperv_clock-be-explicit-about-mul-instruction-d.patch is removed, as it has been merged upstream as of commit 45276b5860522921c77fb3ccc1458ff5f223c3c6. Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/kvm-unit-tests/0001-Makefile-remove-Werror-to-avoid-build-failures.patch')
-rw-r--r--package/kvm-unit-tests/0001-Makefile-remove-Werror-to-avoid-build-failures.patch21
1 files changed, 11 insertions, 10 deletions
diff --git a/package/kvm-unit-tests/0001-Makefile-remove-Werror-to-avoid-build-failures.patch b/package/kvm-unit-tests/0001-Makefile-remove-Werror-to-avoid-build-failures.patch
index b1ea09272e..cbfa3a87e6 100644
--- a/package/kvm-unit-tests/0001-Makefile-remove-Werror-to-avoid-build-failures.patch
+++ b/package/kvm-unit-tests/0001-Makefile-remove-Werror-to-avoid-build-failures.patch
@@ -4,23 +4,24 @@ Date: Mon, 20 Nov 2017 22:09:39 +0100
Subject: [PATCH] Makefile: remove -Werror to avoid build failures
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+[Matthew: Refactoring of Thomas Petazzoni's original.]
+Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
---
- Makefile | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
+ Makefile | 1 -
+ 1 file changed, 1 deletion(-)
diff --git a/Makefile b/Makefile
-index 16ce297..909498e 100644
+index 7231334..d9ad42b 100644
--- a/Makefile
+++ b/Makefile
-@@ -45,7 +45,7 @@ cc-option = $(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null \
- > /dev/null 2>&1; then echo "$(1)"; else echo "$(2)"; fi ;)
-
- CFLAGS += -g
--CFLAGS += $(autodepend-flags) -Wall -Werror
-+CFLAGS += $(autodepend-flags) -Wall
+@@ -53,7 +53,6 @@ cc-option = $(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null \
+ COMMON_CFLAGS += -g $(autodepend-flags)
+ COMMON_CFLAGS += -Wall -Wwrite-strings -Wclobbered -Wempty-body -Wuninitialized
+ COMMON_CFLAGS += -Wignored-qualifiers -Wunused-but-set-parameter
+-COMMON_CFLAGS += -Werror
frame-pointer-flag=-f$(if $(KEEP_FRAME_POINTER),no-,)omit-frame-pointer
fomit_frame_pointer := $(call cc-option, $(frame-pointer-flag), "")
fnostack_protector := $(call cc-option, -fno-stack-protector, "")
--
-2.13.6
+2.14.2
OpenPOWER on IntegriCloud