Skip to content
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
mangle global variables for stub function & remove '-Wl,--as-needed' …
…flag from linker flags
  • Loading branch information
Samat Gaynutdinov authored and operasfantom committed Apr 21, 2022
commit 06b8e9ccde527e8de742162f9c78401186c97c0c
1 change: 1 addition & 0 deletions server/src/printers/NativeMakefilePrinter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ namespace printer {
}

static void removeLinkerFlag(string &argument, string const &flag) {
eraseIfWlaAsNeeded(argument);
auto options = StringUtils::split(argument, ',');
size_t erased = CollectionUtils::erase_if(options, [&flag](string const &option) {
return StringUtils::startsWith(option, flag);
Expand Down