Refs #99. c_check/f_check: strip quotes from detected flags
This commit is contained in:
parent
006200c9a4
commit
c8a5d4b86f
2
c_check
2
c_check
|
@ -174,6 +174,8 @@ $linker_a = "";
|
|||
$link =~ s/\-Y\sP\,/\-Y/g;
|
||||
|
||||
@flags = split(/[\s\,\n]/, $link);
|
||||
# remove leading and trailing quotes from each flag.
|
||||
@flags = map {s/^['"]|['"]$//g; $_} @flags;
|
||||
|
||||
foreach $flags (@flags) {
|
||||
if (
|
||||
|
|
Loading…
Reference in New Issue