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

samba-technical at 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

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