summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2013-01-24 23:35:37 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2013-01-25 01:07:02 +0100
commit8ccd930335cc1019122a24625d38e8e64677ec59 (patch)
treeea699b9d8176a9a62050e28b78673c16b703d0d2
parentc52d3869203ac0b169dde2767650085d02b213d7 (diff)
compat-drivers: do not treat a warning as error
Older kernel version show more warnings like -Werror=unused-but-set-variable and with this option they are treated as an error. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--patches/collateral-evolutions/network/68-do-not-add-Werror.patch8
1 files changed, 8 insertions, 0 deletions
diff --git a/patches/collateral-evolutions/network/68-do-not-add-Werror.patch b/patches/collateral-evolutions/network/68-do-not-add-Werror.patch
new file mode 100644
index 00000000..066df6e0
--- /dev/null
+++ b/patches/collateral-evolutions/network/68-do-not-add-Werror.patch
@@ -0,0 +1,8 @@
+--- a/drivers/net/wireless/ath/wil6210/Makefile
++++ b/drivers/net/wireless/ath/wil6210/Makefile
+@@ -9,5 +9,4 @@ wil6210-objs += wmi.o
+ wil6210-objs += interrupt.o
+ wil6210-objs += txrx.o
+
+-subdir-ccflags-y += -Werror
+ subdir-ccflags-y += -D__CHECK_ENDIAN__