app-portage/unsandbox: Add tc-export CC, #609442
authorMichał Górny <mgorny@gentoo.org>
Wed, 15 Feb 2017 17:44:56 +0000 (18:44 +0100)
committerMichał Górny <mgorny@gentoo.org>
Wed, 15 Feb 2017 17:50:23 +0000 (18:50 +0100)
app-portage/unsandbox/unsandbox-1.ebuild

index d992a97e7d10285f19dbee3d932fb14fa356df87..48d371205b1209a19baaa17ecfe4c54f89487955 100644 (file)
@@ -4,6 +4,8 @@
 
 EAPI=6
 
+inherit toolchain-funcs
+
 DESCRIPTION="The Sandbox escapist tool"
 HOMEPAGE="http://dev.gentoo.org/~mgorny/dist/unsandbox.c"
 SRC_URI="http://dev.gentoo.org/~mgorny/dist/unsandbox.c"
@@ -20,6 +22,7 @@ src_unpack() {
 }
 
 src_compile() {
+       tc-export CC
        emake LDLIBS=-ldl unsandbox
 }