diff mbox

[2/3] configure.ac: pass through user set CPP/LD-FLAGS

Message ID 1418310812-10965-3-git-send-email-anders.roxell@linaro.org
State Accepted
Commit 0401fcce0a74f9b01c40b0e3087e180cc018f009
Headers show

Commit Message

Anders Roxell Dec. 11, 2014, 3:13 p.m. UTC
Make sure all of CFLAGS/CPPFLAGS/LDFLAGS are passed through to automake
fron configure.
Previously only CFLAGS was passed through.

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
---
 configure.ac | 2 ++
 1 file changed, 2 insertions(+)
diff mbox

Patch

diff --git a/configure.ac b/configure.ac
index b185a41..8cebc4f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -213,9 +213,11 @@  AM_LDFLAGS="$AM_LDFLAGS -pthread -lrt"
 
 AC_SUBST([LIBS])
 AC_SUBST([AM_CPPFLAGS])
+AC_SUBST([CPPFLAGS])
 AC_SUBST([AM_CFLAGS])
 AC_SUBST([CFLAGS])
 AC_SUBST([AM_LDFLAGS])
+AC_SUBST([LDFLAGS])
 
 AC_OUTPUT
 AC_MSG_RESULT([