X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fsourcefile.cpp;h=af1c04a5cf4205be339b86a1e9cead91f8a02f90;hb=0f5283a54fd188072eca23fbd980a43c6c869913;hp=f05d2035edb534b62ac8a56bc06c9bfd5b8b010c;hpb=b50019441dd16d4aaba1eeffc381ded3e4a4be2d;p=builder.git diff --git a/source/sourcefile.cpp b/source/sourcefile.cpp index f05d203..af1c04a 100644 --- a/source/sourcefile.cpp +++ b/source/sourcefile.cpp @@ -52,12 +52,11 @@ void SourceFile::find_depends() includes=deps_cache.get_deps(name); const StringList &incpath=comp->get_build_info().incpath; - const string &arch=comp->get_package().get_arch(); string path=name.substr(0, name.rfind('/')); for(list::iterator i=includes.begin(); i!=includes.end(); ++i) { - Target *hdr=builder.get_header(*i, arch, path, incpath); + Target *hdr=builder.get_header(*i, path, incpath); if(hdr) add_depend(hdr); }