From d0f1eccd928874102800b7b0d54a93915fa86e66 Mon Sep 17 00:00:00 2001 From: Sandipan Das Date: Wed, 8 Apr 2020 18:26:21 +0000 Subject: [PATCH] scons: Fix gcc-9.2.x builds Change-Id: I53fcc19cea6e2f386ae6dbe6765de101ae4ab70b Signed-off-by: Sandipan Das --- SConstruct | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SConstruct b/SConstruct index 0e9e57508..ba84d9675 100755 --- a/SConstruct +++ b/SConstruct @@ -372,6 +372,9 @@ if main['GCC'] or main['CLANG']: '-Wno-cast-function-type', '-Wno-error=class-memaccess', '-Wno-error=catch-value', + '-Wno-error=deprecated-copy', + '-Wno-error=address-of-packed-member', + '-Wno-error=array-bounds', ]) else: print(termcap.Yellow + termcap.Bold + 'Error' + termcap.Normal, end=' ') -- 2.30.2