From: Nathan Binkert Date: Sun, 10 Jun 2007 05:59:33 +0000 (-0700) Subject: only compile fenv.c if we're using fenv X-Git-Tag: m5_2.0_beta4~367 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9f75ac783b396ae9e0040929c467df9bd21d26b0;p=gem5.git only compile fenv.c if we're using fenv --HG-- extra : convert_revision : 990726f724f99505fc999af82bfb1bbcd6c7f1a2 --- 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')