diff options
Diffstat (limited to 'recipes-bsp/gc320-drivers/ti-gc320-driver/0001-Kbuild-bypass-gcc8-stringop-overflow-error.patch')
-rw-r--r-- | recipes-bsp/gc320-drivers/ti-gc320-driver/0001-Kbuild-bypass-gcc8-stringop-overflow-error.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes-bsp/gc320-drivers/ti-gc320-driver/0001-Kbuild-bypass-gcc8-stringop-overflow-error.patch b/recipes-bsp/gc320-drivers/ti-gc320-driver/0001-Kbuild-bypass-gcc8-stringop-overflow-error.patch new file mode 100644 index 00000000..431afa76 --- /dev/null +++ b/recipes-bsp/gc320-drivers/ti-gc320-driver/0001-Kbuild-bypass-gcc8-stringop-overflow-error.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | From c93a4217425ffebae1fb2d5c6c7fc957eb8aa18c Mon Sep 17 00:00:00 2001 | ||
2 | From: Denys Dmytriyenko <denys@ti.com> | ||
3 | Date: Tue, 16 Oct 2018 21:16:48 -0400 | ||
4 | Subject: [PATCH] Kbuild: bypass gcc8 stringop-overflow error | ||
5 | |||
6 | Signed-off-by: Denys Dmytriyenko <denys@ti.com> | ||
7 | --- | ||
8 | src/Kbuild | 2 +- | ||
9 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
10 | |||
11 | diff --git a/src/Kbuild b/src/Kbuild | ||
12 | index 574a107..df4368d 100755 | ||
13 | --- a/src/Kbuild | ||
14 | +++ b/src/Kbuild | ||
15 | @@ -87,7 +87,7 @@ MODULE_NAME ?= galcore | ||
16 | CUSTOMER_ALLOCATOR_OBJS ?= | ||
17 | ALLOCATOR_ARRAY_H_LOCATION ?= $(OS_KERNEL_DIR)/allocator/default/ | ||
18 | |||
19 | -EXTRA_CFLAGS += -Werror | ||
20 | +EXTRA_CFLAGS += -Werror -Wno-stringop-overflow | ||
21 | |||
22 | OBJS := $(OS_KERNEL_DIR)/gc_hal_kernel_device.o \ | ||
23 | $(OS_KERNEL_DIR)/gc_hal_kernel_linux.o \ | ||
24 | -- | ||
25 | 2.7.4 | ||
26 | |||