]> git.tdb.fi Git - builder.git/blobdiff - source/builder.cpp
Target::prepare shouldn't be virtual
[builder.git] / source / builder.cpp
index 5909834ab411aa6bee12ac6b2bce18a734b1505b..209321224db7c3966195d848cbf712d01211aa50 100644 (file)
@@ -251,12 +251,12 @@ int Builder::main()
                return 0;
        }
 
-       if(conf_only)
-               return 0;
-
        if(!prepare_build())
                return 1;
 
+       if(conf_only)
+               return 0;
+
        logger.log("environment", format("Building on %s, for %s%s", native_arch.get_name(),
                current_arch->get_name(), (current_arch->is_native() ? " (native)" : "")));
        logger.log("environment", format("Prefix is %s", prefix));