Build with -e
[gpg4win.git] / src / gpg4win.mk.in
index 3b9eb82..41e7cd5 100644 (file)
@@ -60,6 +60,7 @@ endef
 
 # Set a couple of common variables.
 define SETVARS
+       set -e; \
        pkg="$(call GETVAR,gpg4win_pkg_$(1))";                          \
        pkg_version="$(1)-$(call GETVAR,gpg4win_pkg_$(1)_version)";     \
        pkgsdir="$(bdir)/$$$${pkg_version}";                            \
@@ -86,6 +87,7 @@ endef
 
 # Set variables for building in an additional architecture
 define SETVARS_EX
+       set -e; \
        pkg="$(call GETVAR,gpg4win_pkg_$(1))";                              \
        pkg_version="$(1)-$(call GETVAR,gpg4win_pkg_$(1)_version)";         \
        pkgsdir="$(bdir)/$$$${pkg_version}";                                \