From 9f75ac783b396ae9e0040929c467df9bd21d26b0 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Sat, 9 Jun 2007 22:59:33 -0700 Subject: [PATCH] only compile fenv.c if we're using fenv --HG-- extra : convert_revision : 990726f724f99505fc999af82bfb1bbcd6c7f1a2 --- src/base/SConscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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') -- 2.30.2