diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2018-07-12 12:32:16 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2018-07-12 12:32:16 +0000 |
commit | 432ddf0d3fcf09f993b7070b805e44f6cac8ff1d (patch) | |
tree | 146edf75e756f36553aa64c92b6e5caab558315b | |
parent | b359c87b50f1afb7c40baf0ff373f0dfa441bc74 (diff) | |
download | mpfr-432ddf0d3fcf09f993b7070b805e44f6cac8ff1d.tar.gz |
[src/Makefile.am] Corrected check-exported-symbols to avoid a failure
when the default .SHELLFLAGS value is '-ec' (POSIX) instead of '-c'
(GNU Make, which is not in POSIX-conforming mode by default).
Bug found on FreeBSD 11.1 (Compile Farm @ HouseGordon.com).
(merged changeset r12913 from the trunk)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12914 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r-- | src/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index d9e89108d..99892734b 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -139,7 +139,7 @@ check-exported-symbols: $(LTLIBRARIES) if [ -f "$(LIBMPFRSO)" ]; then \ gsymbols=`$(NM) -gP "$(LIBMPFRSO)" | perl -ne \ '/^(__gmp[a-z]?_[_0-9A-Za-z]*) +[A-TV-Z]/ and print " $$1"' | \ - grep -v '@plt$$'`; \ + { grep -v '@plt$$' || true ; }`; \ if [ -n "$$gsymbols" ]; then \ echo "MPFR defines symbols with a GMP reserved prefix:$$gsymbols"; \ exit 1; \ |