From 432ddf0d3fcf09f993b7070b805e44f6cac8ff1d Mon Sep 17 00:00:00 2001 From: vlefevre Date: Thu, 12 Jul 2018 12:32:16 +0000 Subject: [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 --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; \ -- cgit v1.2.1