Browse Source

Refs #99. c_check/f_check: strip quotes from detected flags

tags/v0.1.1
Zaheer Chothia Zhang Xianyi 13 years ago
parent
commit
c8a5d4b86f
2 changed files with 4 additions and 0 deletions
  1. +2
    -0
      c_check
  2. +2
    -0
      f_check

+ 2
- 0
c_check View File

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


+ 2
- 0
f_check View File

@@ -237,6 +237,8 @@ if ($link ne "") {
$link =~ s/\-rpath\s+/\-rpath\@/g;

@flags = split(/[\s\,\n]/, $link);
# remove leading and trailing quotes from each flag.
@flags = map {s/^['"]|['"]$//g; $_} @flags;

foreach $flags (@flags) {
if (


Loading…
Cancel
Save