Commit 719bfe9d authored by jimw@mysql.com's avatar jimw@mysql.com

Backport fix from 4.1 for testing whether CXX is gcc. (Bug #9690)

parent 9dfc87e2
......@@ -368,7 +368,7 @@ then
# we will gets some problems when linking static programs.
# The following code is used to fix this problem.
if test "$CXX" = "gcc" -o "$CXX" = "ccache gcc"
if echo $CXX | grep gcc > /dev/null 2>&1
then
if $CXX -v 2>&1 | grep 'version 3' > /dev/null 2>&1
then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment