diff options
author | Zaheer Chothia <zaheer.chothia@gmail.com> | 2012-04-26 21:13:18 +0100 |
---|---|---|
committer | Zhang Xianyi <xianyi@iscas.ac.cn> | 2012-04-27 10:21:48 +0800 |
commit | c8a5d4b86fa0af789eed58b034aec3442b868788 (patch) | |
tree | 374f2c21eed36968edb7754501f79315f0fd4f1e /c_check | |
parent | 006200c9a4310abd9f2d53d5974de942dea16ba4 (diff) | |
download | openblas-c8a5d4b86fa0af789eed58b034aec3442b868788.tar.gz openblas-c8a5d4b86fa0af789eed58b034aec3442b868788.tar.bz2 openblas-c8a5d4b86fa0af789eed58b034aec3442b868788.zip |
Refs #99. c_check/f_check: strip quotes from detected flags
Diffstat (limited to 'c_check')
-rw-r--r-- | c_check | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 ( |