Description: Fix mixed debug/release autotools build
 When doing a release build, certain parts of the build are still done as debug
 builds, due to a mismatch of what's passed vs. expected to be passed to
 child makefiles.
Author: Bill Blough <devel@blough.us>
Forwarded: https://github.com/pwsafe/pwsafe/pull/444
Last-Update: 2018-04-26
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Makefile.linux
+++ b/Makefile.linux
@@ -47,8 +47,8 @@ export CPPFLAGS += -std=c++11
 all: I18N unicodedebug unicoderelease
 
 unicodedebug unicoderelease:
-	$(MAKE) -C src/os/unix $@
-	$(MAKE) -C src/core $@
+	$(MAKE) -C src/os/unix CONFIG=$@
+	$(MAKE) -C src/core CONFIG=$@
 	$(MAKE) -C src/ui/wxWidgets CONFIG=$@
 
 
