aboutsummaryrefslogtreecommitdiff
path: root/lib/gen-version-script.sh
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2015-07-27 20:42:32 +0200
committerDavid Bremner <david@tethera.net>2015-07-28 21:34:01 +0200
commit882ccb7e49fa8cca9d498c3eda0fbb64ea57d348 (patch)
tree06ec11ca61119a256c502bef9ce406b747709650 /lib/gen-version-script.sh
parent1fef811fd78baf5b1e06d1cdabe3fea579726fe7 (diff)
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.
Diffstat (limited to 'lib/gen-version-script.sh')
-rw-r--r--lib/gen-version-script.sh1
1 files changed, 1 insertions, 0 deletions
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