summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-01-21 09:38:06 -0700
committerKarl Williamson <khw@cpan.org>2020-01-21 09:42:07 -0700
commit6c8e1158f1772eedb813932444244e833799a032 (patch)
treecefacbcde078ee469e0b15f2a61c42ed9d863f77 /hints
parent52635202f174c9387aa422c4aa32d12f754d8a33 (diff)
downloadperl-6c8e1158f1772eedb813932444244e833799a032.tar.gz
hints/solaris_2.sh: g++ needs same treatment as gcc
This had a test for gcc, which also applies to g++, and it was causing load failures on solaris built with g++. Thanks to Dagfinn Ilmari Mannsåker for diagnosing this problem.
Diffstat (limited to 'hints')
-rw-r--r--hints/solaris_2.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh
index c68fbb036d..c6134060f7 100644
--- a/hints/solaris_2.sh
+++ b/hints/solaris_2.sh
@@ -585,7 +585,7 @@ EOM
fi
fi
case "${cc:-cc} -v 2>/dev/null" in
- *gcc*)
+ *gcc*|*g++*)
echo 'int main() { return 0; }' > try.c
case "`${cc:-cc} $ccflags -mcpu=v9 -m64 -S try.c 2>&1 | grep 'm64 is not supported by this configuration'`" in
*"m64 is not supported"*)