From 1543f11ec85934f3bb001dbd60c2d16917a5e7c1 Mon Sep 17 00:00:00 2001 From: simon Date: Wed, 18 Mar 2015 10:32:29 +0000 Subject: Fix the makefile for JOM JOM is a nmake-compatible tool for Windows which supports -jN for parallel builds. JOM's $? variable is broken, but this workaround is simple. Github pull 66 from Simon Warta. --- configure.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.py b/configure.py index e6838c788..107511de1 100755 --- a/configure.py +++ b/configure.py @@ -1129,13 +1129,14 @@ def gen_makefile_lists(var, build_config, options, modules, cc, arch, osinfo): """ def build_commands(sources, obj_dir, flags): for (obj_file,src) in zip(objectfile_list(sources, obj_dir), sources): - yield '%s: %s\n\t$(CXX)%s $(%s_FLAGS) %s%s %s$? %s$@\n' % ( + yield '%s: %s\n\t$(CXX)%s $(%s_FLAGS) %s%s %s%s %s$@\n' % ( obj_file, src, isa_specific_flags(cc, src), flags, cc.add_include_dir_option, build_config.include_dir, cc.compile_option, + src, cc.output_to_option) -- cgit v1.2.3