1# -*- mode:python -*- 2 3# Copyright (c) 2004-2005 The Regents of The University of Michigan 4# All rights reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions are 8# met: redistributions of source code must retain the above copyright --- 938 unchanged lines hidden (view full) --- 947 libname = 'gem5_' + label 948 exename = 'gem5.' + label 949 secondary_exename = 'm5.' + label 950 951 new_env = env.Clone(OBJSUFFIX=objsfx, SHOBJSUFFIX=objsfx + 's') 952 new_env.Label = label 953 new_env.Append(**kwargs) 954 |
955 werror_env = new_env.Clone() 956 # Treat warnings as errors but white list some warnings that we 957 # want to allow (e.g., deprecation warnings). 958 werror_env.Append(CCFLAGS=['-Werror', 959 '-Wno-error=deprecated-declarations', 960 '-Wno-error=deprecated', 961 ]) 962 --- 211 unchanged lines hidden --- |