Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: @Klaus Schmidinger: Suggestion for -O options in plugin-makefiles



Ronald Steininger <ronald.steininger@gmx.at> wrote:

 
> I've checked this: It seems that autoconf/automake also includes the
> env. variables $CFLAGS and $CXXFLAGS, so if they're set, make uses
> them. They are not set in Gentoo, maybe RedHat get these values from
> the kernel-Makefile. Are you sure that this works also with
> non-autoconf Makefiles? What does echo $CFLAGS say?
> 
> Maybe something like CFLAGS="$CFLAGS -O2" would be nice in the
> vdr-Makefile: This way the system defaults would be used (if CFLAGS is
> defined) or some standard-values (in this case -O2). The only question
> is: will gcc use -Osomething from the $CFLAGS or -O2 ?

the latter, AFAIK. the vdr Makefile should just use sytem wide
CFLAGS/CXXFLAGS if set, otherwise shuld define its own FLAGS.



-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index