projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23a9102
)
Fix to #define True/False option values as 0/1 in header.
author
Steve Reinhardt
<stever@eecs.umich.edu>
Thu, 1 Sep 2005 15:35:03 +0000
(11:35 -0400)
committer
Steve Reinhardt
<stever@eecs.umich.edu>
Thu, 1 Sep 2005 15:35:03 +0000
(11:35 -0400)
--HG--
extra : convert_revision :
7fbae4816a4d0a5ed942e0ad8afed9464dd1ba11
build/SConstruct
patch
|
blob
|
history
diff --git
a/build/SConstruct
b/build/SConstruct
index 5dd847ba476f9f30c2c8084efb0adf39c63c5198..b7e769e153348de5ae0729260b532a058e0c1c9a 100644
(file)
--- a/
build/SConstruct
+++ b/
build/SConstruct
@@
-223,7
+223,7
@@
env = conf.Finish()
# The source operand is a Value node containing the value of the option.
def build_config_file(target, source, env, option):
f = file(str(target[0]), 'w')
- print >> f, '#define', option,
source[0]
+ print >> f, '#define', option,
int(eval(str(source[0])))
f.close()
return None