From: Dongkyun Son Date: Mon, 13 Jan 2020 10:23:36 +0000 (+0900) Subject: Replace '-Werror' with '-w': Inhibit all warning messages. X-Git-Tag: submit/tizen/20200114.003256^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Faccepted%2Ftizen_6.5_unified;p=platform%2Fkernel%2Fswap-modules.git Replace '-Werror' with '-w': Inhibit all warning messages. to ignore kernel warning on GCC9 e.g, include/linux/init.h:342:6: error: 'init_module' specifies less restrictive attribute than its target '__init_mod': 'cold' [-Werror=missing-attributes] [ 27s] 342 | int init_module(void) __attribute__((alias(#initfn))); [ 27s] | ^~~~~~~~~~~ Change-Id: I50242ccd7e154bcdc817d3912e7a20a03a6d8b5f Signed-off-by: Dongkyun Son --- diff --git a/modules/build.sh b/modules/build.sh index 5b1e3a55..0a3a9a07 100755 --- a/modules/build.sh +++ b/modules/build.sh @@ -76,7 +76,7 @@ else show_usage_and_exit fi -MCFLAGS="-Werror" +MCFLAGS="-w" CMDLINE_ARGS="" CMDLINE_ARGS="CROSS_COMPILE=${TOOLCHAIN} ARCH=${ARCH} -C ${KERNELDIR}"