sys-apps/secilc: export CC
authorJason Zaman <perfinion@gentoo.org>
Wed, 26 Apr 2017 04:34:26 +0000 (12:34 +0800)
committerJason Zaman <perfinion@gentoo.org>
Wed, 26 Apr 2017 18:14:03 +0000 (02:14 +0800)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

sys-apps/secilc/secilc-9999.ebuild

index ad52193eeb9a782aac38616c4bcacd95d7d53728..5b10bacaa82a9946c458b9424b1d740f2ca67187 100644 (file)
@@ -1,7 +1,8 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
+inherit toolchain-funcs
 
 MY_P="${P//_/-}"
 MY_RELEASEDATE="20161014"
@@ -36,3 +37,8 @@ RDEPEND="
 # tests are not meant to be run outside of the
 # full SELinux userland repo
 RESTRICT="test"
+
+src_compile() {
+       tc-export CC
+       default
+}