]> git.tdb.fi Git - builder.git/commitdiff
Using different out directories per build type is more trouble than it's worth
authorMikko Rasa <tdb@tdb.fi>
Wed, 18 Jul 2012 18:13:54 +0000 (21:13 +0300)
committerMikko Rasa <tdb@tdb.fi>
Wed, 18 Jul 2012 18:13:54 +0000 (21:13 +0300)
source/sourcepackage.cpp

index 22330b2970dd4184db97d783a6646be4bc30da4f..ea63655368b7eadc60b9c4fcdc0335c25f83f18f 100644 (file)
@@ -61,11 +61,10 @@ FS::Path SourcePackage::get_temp_dir() const
 FS::Path SourcePackage::get_out_dir() const
 {
        const Architecture &arch = builder.get_current_arch();
-       string detail = (build_type ? build_type->get_name() : string());
        if(arch.is_native())
-               return source_dir/detail;
+               return source_dir;
        else
-               return source_dir/arch.get_name()/detail;
+               return source_dir/arch.get_name();
 }
 
 void SourcePackage::create_build_info()