dvb-apps: Remove workaround patch for ancient target compilers

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Adrian Bunk
2019-05-22 15:11:00 +03:00
committed by Khem Raj
parent f31935321b
commit db45f2c886
2 changed files with 0 additions and 45 deletions
@@ -7,7 +7,6 @@ SRCREV = "3d43b280298c39a67d1d889e01e173f52c12da35"
SRC_URI = "hg://linuxtv.org/hg;module=dvb-apps;protocol=http \
file://dvb-scan-table \
file://0001-Fix-generate-keynames.patch \
file://0002-Fix-compiler-warning-flags.patch \
file://0003-handle-static-shared-only-build.patch \
file://0004-Makefile-remove-test.patch \
file://0005-libucsi-optimization-removal.patch \
@@ -1,44 +0,0 @@
From 9b8f1df41f7579da63c27763ff184d351e4c7fef Mon Sep 17 00:00:00 2001
From: Simon Dawson <spdawson@gmail.com>
Date: Sun, 4 Jan 2015 12:06:18 +0100
Subject: [PATCH] Fix compiler warning flags
When building for bfin, the build fails as follows.
cc1: error: unrecognized command line option "-Wno-packed-bitfield-compat"
An example of an autobuild failure arising from this is the following.
http://autobuild.buildroot.net/results/92e/92e472004812a3616f62d766a9ea07a997a66e89/
http://autobuild.buildroot.net/results/6e7/6e7b48ad9768349d983985c3067c4267cde80541/
Clearly, not all toolchains provide a gcc that understands
the -Wno-packed-bitfield-compat flag; remove usage of this flag.
Wno-packed-bitfield-compat option was added in gcc 4.4.
[Romain:
- This patch is also needed for bfin toolchains which use gcc 4.3.5
- Add a link to bfin build failure]
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
---
util/scan/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util/scan/Makefile b/util/scan/Makefile
index d48c478..88667c5 100644
--- a/util/scan/Makefile
+++ b/util/scan/Makefile
@@ -14,7 +14,7 @@ inst_bin = $(binaries)
removing = atsc_psip_section.c atsc_psip_section.h
-CPPFLAGS += -Wno-packed-bitfield-compat -D__KERNEL_STRICT_NAMES
+CPPFLAGS += -D__KERNEL_STRICT_NAMES
.PHONY: all
--
1.9.3