]> git.notmuchmail.org Git - notmuch/commitdiff
build: add "set -eu" to version script generation
authorDavid Bremner <david@tethera.net>
Mon, 27 Jul 2015 18:42:32 +0000 (20:42 +0200)
committerDavid Bremner <david@tethera.net>
Tue, 28 Jul 2015 19:34:01 +0000 (21:34 +0200)
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.

lib/gen-version-script.sh

index 64a737494e1cae2c3f3da8b7fc29902236e54372..847700114ef8df1f634db307dd22423c655c90e8 100644 (file)
@@ -1,3 +1,4 @@
+set -eu
 
 # we go through a bit of work to get the unmangled names of the
 # typeinfo symbols because of