configure.in change

Herbert Lewis herb at sgi.com
Wed Apr 11 01:51:08 GMT 2001


samba-technical at thewrittenword.com wrote:
> 
> Ick! And how does someone compile with -O2? I would recommend leaving
> CFLAGS alone if it is set at all:
>   test "${CFLAGS+set}" != set && CFLAGS="-O ${CFLAGS}"
> 
> --
> albert chin (china at thewrittenword.com)

Thats why I did a prepend. Most compilers will take the last of
conflicting values so if you specify -O and -O3 it will use -O3




More information about the samba-technical mailing list