diff options
author | Viorel Munteanu <ceamac@gentoo.org> | 2024-08-15 15:54:43 +0300 |
---|---|---|
committer | Viorel Munteanu <ceamac@gentoo.org> | 2024-08-15 15:55:50 +0300 |
commit | 1552efd66ee6515a05ba36c56d6161294eef11c0 (patch) | |
tree | 2342ee992d135dd4b8a7e87b1ee3b2226ef18166 /app-emulation | |
parent | dev-python/cypari2: add 2.2.0 (diff) | |
download | gentoo-1552efd66ee6515a05ba36c56d6161294eef11c0.tar.gz gentoo-1552efd66ee6515a05ba36c56d6161294eef11c0.tar.bz2 gentoo-1552efd66ee6515a05ba36c56d6161294eef11c0.zip |
app-emulation/virtualbox: respect CFLAGS
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/virtualbox/virtualbox-7.1.0_beta1.ebuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app-emulation/virtualbox/virtualbox-7.1.0_beta1.ebuild b/app-emulation/virtualbox/virtualbox-7.1.0_beta1.ebuild index ec70d27ee663..cc9921a521ed 100644 --- a/app-emulation/virtualbox/virtualbox-7.1.0_beta1.ebuild +++ b/app-emulation/virtualbox/virtualbox-7.1.0_beta1.ebuild @@ -281,6 +281,12 @@ src_prepare() { # bug #908814 filter-lto + # bug #843437 + cat >> LocalConfig.kmk <<-EOF || die + CXXFLAGS=${CXXFLAGS} + CFLAGS=${CFLAGS} + EOF + if use sdl; then sed -i 's/sdl-config/sdl2-config/' configure || die echo -e "\nVBOX_WITH_VBOXSDL=1" >> LocalConfig.kmk || die |