only compile fenv.c if we're using fenv
authorNathan Binkert <binkertn@umich.edu>
Sun, 10 Jun 2007 05:59:33 +0000 (22:59 -0700)
committerNathan Binkert <binkertn@umich.edu>
Sun, 10 Jun 2007 05:59:33 +0000 (22:59 -0700)
--HG--
extra : convert_revision : 990726f724f99505fc999af82bfb1bbcd6c7f1a2

src/base/SConscript

index cc9d06a0eee6330c1c6ffed8bd728a8bc14bf214..ca68bfb60946face16682c431e5706e4f140222e 100644 (file)
@@ -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')