Description: Fix hardening
 Fix hardening complaints from blhc.
Author: Andreas B. Mundt <andi@debian.org>
Forwarded: no
Last-Update: 2022-08-13
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/configure.ac
+++ b/configure.ac
@@ -183,7 +183,7 @@
 if test "x$build" = "x$host" ; then
   # Not cross-compiling.
   CXX_FOR_BUILD=$CXX
-  CXXFLAGS_FOR_BUILD=$CXXFLAGS
+  CXXFLAGS_FOR_BUILD="$CXXFLAGS $CPPFLAGS $LDFLAGS"
   AC_MSG_RESULT([${CXX_FOR_BUILD}])
 else
   # Try to find the host CXX among several choices
