diff options
author | Michał Górny <mgorny@gentoo.org> | 2016-01-01 09:54:01 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2016-01-01 10:37:28 +0100 |
commit | 52e99ad8745af634ced0e18fdf76410d14a0233d (patch) | |
tree | fc9639798afc7ec5cc9776ef472222f2feecd6c3 /dev-db | |
parent | dev-db/mongodb: Convert scons_opts into an array, to preserve whitespace (diff) | |
download | gentoo-52e99ad8745af634ced0e18fdf76410d14a0233d.tar.gz gentoo-52e99ad8745af634ced0e18fdf76410d14a0233d.tar.bz2 gentoo-52e99ad8745af634ced0e18fdf76410d14a0233d.zip |
dev-db/mongodb: [QA] Respect CC & CXX
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/mongodb/mongodb-3.2.0.ebuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-db/mongodb/mongodb-3.2.0.ebuild b/dev-db/mongodb/mongodb-3.2.0.ebuild index a3177805f709..64205f5b3add 100644 --- a/dev-db/mongodb/mongodb-3.2.0.ebuild +++ b/dev-db/mongodb/mongodb-3.2.0.ebuild @@ -8,7 +8,7 @@ CHECKREQS_DISK_BUILD="2400M" CHECKREQS_DISK_USR="512M" CHECKREQS_MEMORY="1024M" -inherit eutils flag-o-matic multilib pax-utils scons-utils systemd user versionator check-reqs +inherit eutils flag-o-matic multilib pax-utils scons-utils systemd toolchain-funcs user versionator check-reqs MY_P=${PN}-src-r${PV/_rc/-rc} @@ -65,6 +65,9 @@ pkg_setup() { # https://www.mongodb.org/about/contributors/tutorial/build-mongodb-from-source/ scons_opts=( + CC="$(tc-getCC)" + CXX="$(tc-getCXX)" + --disable-warnings-as-errors --use-system-boost --use-system-pcre |