mirror of
https://github.com/rui314/mold.git
synced 2024-09-22 10:27:48 +03:00
temporary
This commit is contained in:
parent
01446b6bc5
commit
23e9d8c36f
2
main.cc
2
main.cc
@ -960,7 +960,7 @@ static Config parse_nonpositional_args(std::span<std::string_view> args,
|
||||
} else if (read_flag(args, "strip-all") || read_flag(args, "s")) {
|
||||
conf.strip_all = true;
|
||||
} else if (read_arg(args, arg, "rpath")) {
|
||||
conf.rpaths.push_back(std::string(arg));
|
||||
conf.rpaths.push_back(arg);
|
||||
} else if (read_arg(args, arg, "version-script")) {
|
||||
conf.version_script.push_back(arg);
|
||||
} else if (read_arg(args, arg, "z")) {
|
||||
|
2
mold.h
2
mold.h
@ -71,7 +71,7 @@ struct Config {
|
||||
int thread_count = -1;
|
||||
std::string sysroot;
|
||||
std::vector<std::string> globals;
|
||||
std::vector<std::string> rpaths;
|
||||
std::vector<std::string_view> rpaths;
|
||||
std::vector<std::string_view> library_paths;
|
||||
std::vector<std::string_view> trace_symbol;
|
||||
std::vector<std::string_view> version_script;
|
||||
|
Loading…
Reference in New Issue
Block a user