On Thu, Jul 31, 2014 at 10:32:14PM +0100, Vittorio Giovara wrote:
> On Wed, Jul 30, 2014 at 1:18 PM, Diego Biurrun <[email protected]> wrote:
> > --- a/configure
> > +++ b/configure
> > @@ -2539,8 +2539,9 @@ case "$toolchain" in
> >      hardened)
> > -        add_cflags  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 
> > -fno-strict-overflow -fstack-protector-all
> > -        add_ldflags -Wl,-z,relro -Wl,-z,now
> > +        add_cppflags -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
> > +        add_cflags   -fno-strict-overflow -fstack-protector-all
> > +        add_ldflags  -Wl,-z,relro -Wl,-z,now
> >      ;;
> >      ?*)
> >          die "Unknown toolchain $toolchain"
> 
> Seems ok, but why?

Because flags for the preprocessor belong in CPPFLAGS, not CFLAGS.

Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to