diff options
author | Thuy Tran <thuy.tran.xh@renesas.com> | 2018-07-17 17:45:32 +0700 |
---|---|---|
committer | Thuy Tran <thuy.tran.xh@renesas.com> | 2019-02-28 09:43:53 +0700 |
commit | 45a75eda120b6e27ea8c2c42f54442abde710cb9 (patch) | |
tree | 2ddd92114ca1d02e92d475cc2a7a35063dde5ffb /meta-rcar-gen3/recipes-kernel/kernel-module-gles/kernel-module-gles.bb | |
parent | fffade1b0b12f46279a6a72791153c57dfed2bc6 (diff) |
rcar-gen3: kernel-module-gles: WORKAROUND to build with GCC 8.1
Current GFX source code will get compilation error with GCC 8.1,
because it is defined in makefile to use -Wall to enable all
Warnings check.
-Wcast-function-type, -Wsizeof-pointer-div and -Wstringop-truncation
are new command-line options have been added for the C and C++
compilers in GCC 8.
This commit applies a W/A patch to silence -Wcast-function-type,
-Wsizeof-pointer-div and -Wstringop-truncation errors.
Signed-off-by: Thuy Tran <thuy.tran.xh@renesas.com>
Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
Diffstat (limited to 'meta-rcar-gen3/recipes-kernel/kernel-module-gles/kernel-module-gles.bb')
-rw-r--r-- | meta-rcar-gen3/recipes-kernel/kernel-module-gles/kernel-module-gles.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-rcar-gen3/recipes-kernel/kernel-module-gles/kernel-module-gles.bb b/meta-rcar-gen3/recipes-kernel/kernel-module-gles/kernel-module-gles.bb index f43a791..844b41f 100644 --- a/meta-rcar-gen3/recipes-kernel/kernel-module-gles/kernel-module-gles.bb +++ b/meta-rcar-gen3/recipes-kernel/kernel-module-gles/kernel-module-gles.bb @@ -18,6 +18,9 @@ SRC_URI_r8a77990 = 'file://GSX_KM_E3.tar.bz2' S = "${WORKDIR}/rogue_km" +# W/A fix build errors with GCC 8.1 +SRC_URI_append = " file://0001-Silenced-Wcast-function-type-Wsizeof-pointer-div-and.patch" + KBUILD_DIR_r8a7795 = "${S}/build/linux/r8a7795_linux" KBUILD_DIR_r8a7796 = "${S}/build/linux/r8a7796_linux" KBUILD_DIR_r8a77965 = "${S}/build/linux/r8a77965_linux" |