From: David Bremner Date: Mon, 27 Jul 2015 18:42:32 +0000 (+0200) Subject: build: add "set -eu" to version script generation X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=882ccb7e49fa8cca9d498c3eda0fbb64ea57d348;p=notmuch.git build: add "set -eu" to version script generation It turns out that on certain systems like FreeBSD, c++filt is not installed by default. It's basically OK if we fail the build in that case, but what's really not OK is for the build to continue and generate bad binaries. --- diff --git a/lib/gen-version-script.sh b/lib/gen-version-script.sh index 64a73749..84770011 100644 --- a/lib/gen-version-script.sh +++ b/lib/gen-version-script.sh @@ -1,3 +1,4 @@ +set -eu # we go through a bit of work to get the unmangled names of the # typeinfo symbols because of