summaryrefslogtreecommitdiff
path: root/c_check
diff options
context:
space:
mode:
authorZaheer Chothia <zaheer.chothia@gmail.com>2012-04-26 21:13:18 +0100
committerZhang Xianyi <xianyi@iscas.ac.cn>2012-04-27 10:21:48 +0800
commitc8a5d4b86fa0af789eed58b034aec3442b868788 (patch)
tree374f2c21eed36968edb7754501f79315f0fd4f1e /c_check
parent006200c9a4310abd9f2d53d5974de942dea16ba4 (diff)
downloadopenblas-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_check2
1 files changed, 2 insertions, 0 deletions
diff --git a/c_check b/c_check
index 263efeb3d..6ce5e4cc0 100644
--- a/c_check
+++ b/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 (