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 <[email protected]>
---
 configure.ac | 2 ++
 1 file changed, 2 insertions(+)

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([
-- 
2.1.0


_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to