On Wednesday, July 23, 2014 10:50:11 AM Markos Chandras wrote:
> 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(-)

Sorry for the late reply, this email fell through the cracks for some reason.

Does setting the CFLAGS environment variable when you run configure not work 
for you?  It does on my system ...

 # CFLAGS="-m32" ./configure
 # make V=1
 ...

> 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])

-- 
paul moore
www.paul-moore.com


------------------------------------------------------------------------------
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