Skip to content

Commit

Permalink
Do not remove plugins from command-line arguments
Browse files Browse the repository at this point in the history
Their removal causes helper-gcc invocation errors.
  • Loading branch information
dspinellis committed Aug 2, 2024
1 parent b62964c commit e7061b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/csmake.pl
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ sub ancestor
} elsif ($arg =~ m/\.(o|obj|opic)$/i) {
push(@ofiles, $arg);
next;
} elsif ($arg =~ m/\.(a|so)$/i) {
} elsif ($arg !~ m/\-fplugin\=/ && $arg =~ m/\.(a|so)$/i) {
push(@afiles, $arg);
next;
} elsif ($arg =~ m/^\-M[TF]$/) {
Expand Down

0 comments on commit e7061b3

Please sign in to comment.