]> git.tdb.fi Git - builder.git/blobdiff - source/sourcefile.cpp
Change arch and prefix to global options
[builder.git] / source / sourcefile.cpp
index f05d2035edb534b62ac8a56bc06c9bfd5b8b010c..af1c04a5cf4205be339b86a1e9cead91f8a02f90 100644 (file)
@@ -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<string>::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);
        }