Use set -e to stop running as soon as we fail

This commit is contained in:
Francisco Blas (klondike) Izquierdo Riera 2014-11-25 09:10:22 +01:00
parent 3f2641595b
commit 5c5918a89d
1 changed files with 1 additions and 0 deletions

View File

@ -1,6 +1,7 @@
#!/bin/sh
set -x
set -e
export CFLAGS="$(dpkg-buildflags --get CFLAGS) $(dpkg-buildflags --get CPPFLAGS)"
export LDFLAGS="$(dpkg-buildflags --get LDFLAGS) -Wl,--as-needed"