summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-11-29 23:27:32 +0000
committerMike Frysinger <vapier@gentoo.org>2012-11-29 23:27:32 +0000
commitaafc10013d4f80dad977679cee04db8eee15d415 (patch)
tree9b84227c5e0212457097a30d635f135334ad55bb /eclass/flag-o-matic.eclass
parentudev-195 needs to be sure that >=virtual/udev-180 is installed otherwise stat... (diff)
downloadgentoo-2-aafc10013d4f80dad977679cee04db8eee15d415.tar.gz
gentoo-2-aafc10013d4f80dad977679cee04db8eee15d415.tar.bz2
gentoo-2-aafc10013d4f80dad977679cee04db8eee15d415.zip
test-flag-PROG: read from stdin rather than directly from /dev/null as some compiler driver versions cannot handle that #443778
Diffstat (limited to 'eclass/flag-o-matic.eclass')
-rw-r--r--eclass/flag-o-matic.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass
index 5e6af23468fc..bf890b87679b 100644
--- a/eclass/flag-o-matic.eclass
+++ b/eclass/flag-o-matic.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.183 2012/11/18 08:29:17 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.184 2012/11/29 23:27:32 vapier Exp $
# @ECLASS: flag-o-matic.eclass
# @MAINTAINER:
@@ -392,7 +392,7 @@ test-flag-PROG() {
# use -c so we can test the assembler as well
local PROG=$(tc-get${comp})
- ${PROG} "${flag}" -c -o /dev/null -x${lang} /dev/null \
+ ${PROG} "${flag}" -c -o /dev/null -x${lang} - < /dev/null \
> /dev/null 2>&1
}