Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Aug 2012 16:35:34 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        freebsd-emulation@FreeBSD.org
Subject:   virtualbox and non-default compiler
Message-ID:  <503E1AA6.4010304@FreeBSD.org>

next in thread | raw e-mail | index | archive | help

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.

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?503E1AA6.4010304>