Frank Mehnert wrote: > Hi, > > On Saturday 10 March 2007, Till Maas wrote: >> how should custom CFLAGS be specified when building virtualbox? >> I set in the enviroment CFLAGS, CXXFLAGS and VBOX_GCC_GC_OP but I cannot >> see whether or not they are honoured and it seems they are not.
They are not honored when specified in the *environment*, but if defined as an argument to kmk or if set in LocalConfig.kmk (you create it in the root of the source tree) they will have an effect. That said, I would really recommend using use the VBOX_GCC_FP/OP/GC_OPT variables like Frank says, and not setting CFLAGS / CXXFLAGS. The reason for ignoring target & global properties in the environment is to avoid accidental confusion with native env.var. on the host. (For instance LIBPATH is present in the environment on several host systems and will cause mayhem.) Kind Regards, knut _______________________________________________ vbox-dev mailing list [email protected] http://vbox.innotek.de/mailman/listinfo/vbox-dev
