summaryrefslogtreecommitdiff
path: root/src/base
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2007-06-09 22:59:33 -0700
committerNathan Binkert <binkertn@umich.edu>2007-06-09 22:59:33 -0700
commit9f75ac783b396ae9e0040929c467df9bd21d26b0 (patch)
tree4898ab57e6f33b348c9dde1f93dac3443ef34fca /src/base
parente9936a6250756f6ca0434842846051cc44da7312 (diff)
downloadgem5-9f75ac783b396ae9e0040929c467df9bd21d26b0.tar.xz
only compile fenv.c if we're using fenv
--HG-- extra : convert_revision : 990726f724f99505fc999af82bfb1bbcd6c7f1a2
Diffstat (limited to 'src/base')
-rw-r--r--src/base/SConscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/base/SConscript b/src/base/SConscript
index cc9d06a0e..ca68bfb60 100644
--- a/src/base/SConscript
+++ b/src/base/SConscript
@@ -57,7 +57,8 @@ Source('circlebuf.cc')
Source('cprintf.cc')
Source('crc.cc')
Source('fast_alloc.cc')
-Source('fenv.c')
+if env['USE_FENV']:
+ Source('fenv.c')
Source('fifo_buffer.cc')
Source('hostinfo.cc')
Source('hybrid_pred.cc')