]> git.tdb.fi Git - builder.git/blobdiff - source/sourcepackage.h
Change arch and prefix to global options
[builder.git] / source / sourcepackage.h
index f47f25931489928c0f98524a62b85f37cd867f72..3b6ef11d845bb36262f776817fa9a44859c19bf7 100644 (file)
@@ -58,14 +58,12 @@ public:
        const Msp::Path &get_source() const       { return source; }
        Msp::Path     get_temp_dir() const;
        Msp::Path     get_out_dir() const;
-       Msp::Path     get_prefix() const          { return config.get_option("prefix").value; }
        const ComponentList &get_components() const     { return components; }
        const Config        &get_config() const         { return config; }
        const BuildInfo     &get_build_info() const     { return build_info; }
        const BuildInfo     &get_exported_binfo() const { return export_binfo; }
        Builder             &get_builder() const        { return builder; }
        unsigned            get_install_flags();
-       const std::string   &get_arch() const           { return config.get_option("arch").value; }
        LibMode             get_library_mode() const;
        const PathList      &get_tar_files() const      { return tar_files; }
        DependencyCache     &get_deps_cache() const     { return deps_cache; }