summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-01-26 22:44:15 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2020-01-26 22:47:07 +0000
commita8ecf9d66d77064ccb6aabd4f5f90a3c730a67d6 (patch)
tree1e83fe2fc496c7ef07a6fc537bf658910f80c073 /eclass
parentflag-o-matic.eclass: fix probe when CC points to absolute path (diff)
downloadgentoo-a8ecf9d66d77064ccb6aabd4f5f90a3c730a67d6.tar.gz
gentoo-a8ecf9d66d77064ccb6aabd4f5f90a3c730a67d6.tar.bz2
gentoo-a8ecf9d66d77064ccb6aabd4f5f90a3c730a67d6.zip
flag-o-matic.eclass: fix probe file extension
A cosmetic fix as we rely on -x ${lang} to detect correct language. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/flag-o-matic.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass
index ebfc49bf30b7..b1b5c866a002 100644
--- a/eclass/flag-o-matic.eclass
+++ b/eclass/flag-o-matic.eclass
@@ -474,7 +474,7 @@ test-flag-PROG() {
cmdline_extra+=(-xc)
;;
esac
- local test_in=${T}/test-flag.${lang}
+ local test_in=${T}/test-flag.${in_ext}
local test_out=${T}/test-flag.exe
printf "%s\n" "${in_src}" > "${test_in}" || return 1