summaryrefslogtreecommitdiff
path: root/Makefile.prebuild
diff options
context:
space:
mode:
authorZhang Xianyi <traits.zhang@gmail.com>2013-01-22 00:29:54 +0800
committerZhang Xianyi <traits.zhang@gmail.com>2013-01-22 00:29:54 +0800
commit36e098296684b264f8b0979268e775519be1c81e (patch)
treeb627440344431551a90a89dc9201ab6997ea30c4 /Makefile.prebuild
parent8cdb79543823f1da894e18c6487a8d4d9cfdb1c3 (diff)
downloadopenblas-36e098296684b264f8b0979268e775519be1c81e.tar.gz
openblas-36e098296684b264f8b0979268e775519be1c81e.tar.bz2
openblas-36e098296684b264f8b0979268e775519be1c81e.zip
Refs #187. Use perl to generate cblas_noconst.h instead of sed.
Thank Dan Povey's patch. https://github.com/xianyi/OpenBLAS/issues/187
Diffstat (limited to 'Makefile.prebuild')
-rw-r--r--Makefile.prebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.prebuild b/Makefile.prebuild
index f4b0bb5af..c7d0de70e 100644
--- a/Makefile.prebuild
+++ b/Makefile.prebuild
@@ -39,6 +39,6 @@ else
endif
cblas_noconst.h : cblas.h
- sed -e "s/\bconst\b\s*//g" cblas.h > cblas_noconst.h
+ perl -ane ' s/\bconst\b\s*//g; print; ' < cblas.h > cblas_noconst.h
dummy: