[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: patches for pkgsrc/multimedia/libdv
"Jeremy C. Reed" wrote:
> I think you overlooked the rest of my same email. It next said:
>
> Would it be okay if the -O is prepended to the CFLAGS then?
If it is the order of "${CC} -O -O2", I agree.
> Or a check for -O in CPPFLAGS, CFLAGS, and maybe CCOPTS first?
It seems that the check on the order of "-O and - O2" is necessary.
And, it is necessary to do this check at the stage
after all contents of libdv/Makefile are read.
(for example, the stage of "pre-build:")
Because the contents of CFLAGS change at the stage of
'.include "../../mk/bsd.pkg.mk"'.
--
Osamu OISHI