On Wed, Aug 29, 2012 at 3:35 PM, Andriy Gapon <a...@freebsd.org> wrote: > > There is another issue with building virtualbox-ose port using a non-default > compiler. CFLAGS/CXXFLAGS and LDFLAGS defined by ports framework (and user) > are > not passed to virtualbox build at all. > So, whatever bsd.gcc.mk carefully configures for e.g. gcc46 is not reflected > in > the build. Most importantly this is -Wl,-rpath option in LDFLAGS that should > ensure that the correct C++ run-time libraries are picked up. > > I do not know how pass those make variables to kBuild-based virtualbox build.
CFLAGS/CXXFLAGS/LDFLAGS are a bit handcrafted and generated in: https://www.virtualbox.org/browser/vbox/trunk/Config.kmk#L3254 That stuff is used for kernel module and userland code. -- Bernhard Fröhlich http://www.bluelife.at/ _______________________________________________ freebsd-emulation@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-emulation To unsubscribe, send any mail to "freebsd-emulation-unsubscr...@freebsd.org"