Skip to content

Commit

Permalink
Updated check-cpu from 10.3 to get it to work with gcc 7.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
montywi committed Nov 16, 2018
1 parent a77f80b commit 3b64663
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions BUILD/check-cpu
Expand Up @@ -40,6 +40,12 @@ check_compiler_cpu_flags () {
cc_major=$1
cc_minor=$2
cc_patch=$3
if test -z "$cc_minor"; then
cc_minor="0";
fi
if test -z "$cc_patch"; then
cc_minor="0";
fi
cc_comp=`expr $cc_major '*' 100 '+' $cc_minor`
fi

Expand Down

0 comments on commit 3b64663

Please sign in to comment.