Commit 3dca04e3 authored by simonmar's avatar simonmar
Browse files

[project @ 2002-08-01 12:39:42 by simonmar]

Rearrange the compiler command line slightly so that the various
extra_hc_opts come after the source filename.  (fixes ffi002)
parent e5063a04
......@@ -425,11 +425,11 @@ def simple_build( name, way, extra_hc_opts, should_fail, top_mod, link ):
cmd = 'cd ' + testdir + " && '" \
+ config.compiler + "' " \
+ join(config.compiler_always_flags,' ') + ' ' \
+ to_do + ' ' + srcname + ' ' \
+ join(config.way_flags[way],' ') + ' ' \
+ extra_hc_opts + ' ' \
+ testopts.extra_hc_opts + ' ' \
+ join(config.way_flags[way],' ') + ' ' \
+ to_do + ' ' \
+ srcname + ' >' + errname + ' 2>&1'
+ '>' + errname + ' 2>&1'
result = runCmd(cmd)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment