summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-03-23 18:03:24 -0700
committerGabe Black <gabeblack@google.com>2018-03-26 22:34:55 +0000
commit1148c9f2f3f75d04982a7a0b6ce037608affb058 (patch)
tree991164112fee749cf11d63618481b9ccc5cec974 /SConstruct
parentcdf3cc2b95137807672ef7b8057695a13ce1cc33 (diff)
downloadgem5-1148c9f2f3f75d04982a7a0b6ce037608affb058.tar.xz
scons: Re-enable override based warnings on gcc.
These warnings have been fixed. Change-Id: I28ee5f4ae21412121849fcb9d273939d8e462842 Reviewed-on: https://gem5-review.googlesource.com/9344 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'SConstruct')
-rwxr-xr-xSConstruct4
1 files changed, 0 insertions, 4 deletions
diff --git a/SConstruct b/SConstruct
index 0bb0f69a2..8fde13338 100755
--- a/SConstruct
+++ b/SConstruct
@@ -478,10 +478,6 @@ if main['GCC']:
main.Append(TCMALLOC_CCFLAGS=['-fno-builtin-malloc', '-fno-builtin-calloc',
'-fno-builtin-realloc', '-fno-builtin-free'])
- # add option to check for undeclared overrides
- if compareVersions(gcc_version, "5.0") > 0:
- main.Append(CCFLAGS=['-Wno-error=suggest-override'])
-
# The address sanitizer is available for gcc >= 4.8
if GetOption('with_asan'):
if GetOption('with_ubsan') and \