Commit a2f866e9 authored by joreland@mysql.com's avatar joreland@mysql.com

Fix ndb detection of gcc

parent 24ee9709
...@@ -396,7 +396,7 @@ then ...@@ -396,7 +396,7 @@ then
# we will gets some problems when linking static programs. # we will gets some problems when linking static programs.
# The following code is used to fix this problem. # 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 then
if $CXX -v 2>&1 | grep 'version 3' > /dev/null 2>&1 if $CXX -v 2>&1 | grep 'version 3' > /dev/null 2>&1
then 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