diff options
author | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 17:36:38 +0100 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 17:36:38 +0100 |
commit | 2a7348129a42f21095fcd62e47a035f78d254130 (patch) | |
tree | 544dc8019a8f8cb684ace8674193605e607f9964 /recipes-kernel/linux/files/add-no-error-array-bounds.patch | |
download | meta-enea-2a7348129a42f21095fcd62e47a035f78d254130.tar.gz |
Migrated from the internal git server on the dora-enea branch
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'recipes-kernel/linux/files/add-no-error-array-bounds.patch')
-rw-r--r-- | recipes-kernel/linux/files/add-no-error-array-bounds.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes-kernel/linux/files/add-no-error-array-bounds.patch b/recipes-kernel/linux/files/add-no-error-array-bounds.patch new file mode 100644 index 0000000..57b3974 --- /dev/null +++ b/recipes-kernel/linux/files/add-no-error-array-bounds.patch | |||
@@ -0,0 +1,13 @@ | |||
1 | Index: git/Makefile | ||
2 | =================================================================== | ||
3 | --- git.orig/Makefile | ||
4 | +++ git/Makefile | ||
5 | @@ -558,7 +558,7 @@ endif # $(dot-config) | ||
6 | # Defaults to vmlinux, but the arch makefile usually adds further targets | ||
7 | all: vmlinux | ||
8 | |||
9 | -KBUILD_CFLAGS += -Wno-unused-but-set-variable | ||
10 | +KBUILD_CFLAGS += -Wno-unused-but-set-variable -Wno-error=array-bounds | ||
11 | |||
12 | ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE | ||
13 | KBUILD_CFLAGS += -Os | ||