summaryrefslogtreecommitdiff
path: root/build/SConstruct
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2005-08-19 17:10:17 -0400
committerSteve Reinhardt <stever@eecs.umich.edu>2005-08-19 17:10:17 -0400
commit03e256b0f004bfe1dbe4006878b4479f25484b74 (patch)
tree0cf6d39f9ea35230f9fe905ef315a5a2b8a28d62 /build/SConstruct
parent40696ccda209cc97e796bf0d4e30e212a294d185 (diff)
downloadgem5-03e256b0f004bfe1dbe4006878b4479f25484b74.tar.xz
A few minor fixes to get things to build on Cygwin.
README: Clarify cygwin EIO error explanation. build/SConstruct: Cygwin header files cause uninitialized var warnings. dev/ide_ctrl.cc: Get rid of unnecessary byte-swap calls, some of which were too ambiguous for cygwin (or gcc 3.4.4). dev/pcidev.cc: Disambiguate arg for overloaded byte swap operation (and fix it to be the correct one). --HG-- extra : convert_revision : be37c6315aacbec6332b1d09e726b39b4aa18dce
Diffstat (limited to 'build/SConstruct')
-rw-r--r--build/SConstruct3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/SConstruct b/build/SConstruct
index 87c215d41..8819e3649 100644
--- a/build/SConstruct
+++ b/build/SConstruct
@@ -254,6 +254,9 @@ default_env.Append(ENV = { 'M5_EXT' : EXT_SRCDIR })
default_env.Append(CCFLAGS='-pipe')
default_env.Append(CCFLAGS='-fno-strict-aliasing')
default_env.Append(CCFLAGS=Split('-Wall -Wno-sign-compare -Werror -Wundef'))
+if sys.platform == 'cygwin':
+ # cygwin has some header file issues...
+ default_env.Append(CCFLAGS=Split("-Wno-uninitialized"))
default_env.Append(CPPPATH=[os.path.join(EXT_SRCDIR + '/dnet')])
# libelf build is described in its own SConscript file. Using a