diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-06-23 10:10:13 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-06-23 10:10:13 +0200 |
commit | ff8ed209cd80799199e0b2e3d37213d549bc342f (patch) | |
tree | bf81ea5b60a9cf2b2d0defb2a7e08c9d18da58b3 /build2/cxx/target.cxx | |
parent | 9a00b8ccfef1d13088be2d76fefcb320c269732a (diff) |
Don't treat mxx{} as cc-source
If we do it, then the link rule will refuse to match when modules are
disabled (in which case mxx{} should be treated as a header).
Diffstat (limited to 'build2/cxx/target.cxx')
-rw-r--r-- | build2/cxx/target.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/cxx/target.cxx b/build2/cxx/target.cxx index 5641e7a..bde41fc 100644 --- a/build2/cxx/target.cxx +++ b/build2/cxx/target.cxx @@ -68,7 +68,7 @@ namespace build2 const target_type mxx::static_type { "mxx", - &cc::static_type, + &file::static_type, &target_factory<mxx>, &target_extension_var<ext_var, mxx_ext_def>, &target_pattern_var<ext_var, mxx_ext_def>, |