diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2017-03-20 15:21:36 +0100 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2017-03-20 15:21:45 +0100 |
commit | dba041e8fb2573dbef409ff9af30c63ae308a874 (patch) | |
tree | c4cd2688cec36e7ee8fe252848c7b44afe201838 /gnustep-base/gnustep-make/gnustep-make-2.6.8.ebuild | |
parent | dev-php/PEAR-XML_Serializer: Revbump to use new eclass (diff) | |
download | gentoo-dba041e8fb2573dbef409ff9af30c63ae308a874.tar.gz gentoo-dba041e8fb2573dbef409ff9af30c63ae308a874.tar.bz2 gentoo-dba041e8fb2573dbef409ff9af30c63ae308a874.zip |
gnustep-base/gnustep-make: inline libobcj.so check, bug #612840
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'gnustep-base/gnustep-make/gnustep-make-2.6.8.ebuild')
-rw-r--r-- | gnustep-base/gnustep-make/gnustep-make-2.6.8.ebuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gnustep-base/gnustep-make/gnustep-make-2.6.8.ebuild b/gnustep-base/gnustep-make/gnustep-make-2.6.8.ebuild index 6aa6586dc58d..414a690bff16 100644 --- a/gnustep-base/gnustep-make/gnustep-make-2.6.8.ebuild +++ b/gnustep-base/gnustep-make/gnustep-make-2.6.8.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit gnustep-base eutils prefix toolchain-funcs +inherit gnustep-base prefix toolchain-funcs DESCRIPTION="GNUstep Makefile Package" HOMEPAGE="http://www.gnustep.org" @@ -32,8 +32,8 @@ pkg_setup() { # Find version in active gcc for ver in {2..5}; do - if $(tc-getCC) -Werror -Wl,-l:libobjc.so.${ver} \ - "${FILESDIR}"/testlibobjc.m -o /dev/null 2> /dev/null; + if $(tc-getCC) -Werror -Wl,-l:libobjc.so.${ver} -x objective-c \ + - <<<$'int main() {}' -o /dev/null 2> /dev/null; then libobjc_version=libobjc.so.${ver} fi |