diff options
author | Karl Williamson <khw@cpan.org> | 2020-01-21 09:38:06 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2020-01-21 09:42:07 -0700 |
commit | 6c8e1158f1772eedb813932444244e833799a032 (patch) | |
tree | cefacbcde078ee469e0b15f2a61c42ed9d863f77 /hints | |
parent | 52635202f174c9387aa422c4aa32d12f754d8a33 (diff) | |
download | perl-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.sh | 2 |
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"*) |