Sometimes it's necessary to allow extra CFLAGS. For example, on MIPS,
it might be necessary to specify the endianness (-EL/-EB) or the
desired ABI (-mabi).

Signed-off-by: Markos Chandras <markos.chand...@imgtec.com>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index be2ffd57fb66..6130c3ace782 100644
--- a/configure.ac
+++ b/configure.ac
@@ -54,7 +54,7 @@ dnl ####
 dnl build flags
 dnl ####
 AM_CPPFLAGS="-I\${top_srcdir}/include"
-AM_CFLAGS="-Wall"
+AM_CFLAGS="$CFLAGS -Wall"
 AM_LDFLAGS="-Wl,-z -Wl,relro"
 AC_SUBST([AM_CPPFLAGS])
 AC_SUBST([AM_CFLAGS])
-- 
2.0.2


------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
libseccomp-discuss mailing list
libseccomp-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libseccomp-discuss

Reply via email to