1
1
mirror of https://github.com/rui314/mold.git synced 2024-09-22 10:27:48 +03:00

temporary

This commit is contained in:
Rui Ueyama 2020-12-21 18:35:10 +09:00
parent 01446b6bc5
commit 23e9d8c36f
2 changed files with 2 additions and 2 deletions

View File

@ -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
View File

@ -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;