When using the the buildflags which are exported when setting the
DPKG_EXPORT_BUILDFLAGS variable (or when trying to set some custom
buildflags manually) the build process failed with something like this:
cc1: error: -Werror=format-security-g: no option -Wformat-security-g
This was caused by a missing whitespace when concatenating the CFLAGS
and LDFLAGS variables.
--- /dev/null
+--- a/src/configure
++++ b/src/configure
+@@ -153,12 +153,12 @@
+ fi
+
+ if [ $USE_CLANG -eq 0 ]; then
+- CFLAGS=$CFLAGS'-g -Wall -O2'
+- LDFLAGS=$LDFLAGS'-g -Wall -O2'
++ CFLAGS=$CFLAGS' -g -Wall -O2'
++ LDFLAGS=$LDFLAGS' -g -Wall -O2'
+ COMPILER='gcc'
+ else
+- CFLAGS=$CFLAGS'-g -O2'
+- LDFLAGS=$LDFLAGS'-g -O2'
++ CFLAGS=$CFLAGS' -g -O2'
++ LDFLAGS=$LDFLAGS' -g -O2'
+ COMPILER='clang'
+ fi
+