backends: smt2: use $(CXX) variable for compiler
authorSean Cross <sean@xobs.io>
Sun, 8 Sep 2019 07:47:09 +0000 (15:47 +0800)
committerSean Cross <sean@xobs.io>
Sun, 8 Sep 2019 07:47:09 +0000 (15:47 +0800)
commitc1b628508d54eb0ab6e5c9559063330a409d0a51
treef88d4db8022f71010c28f2fe1799507adf765198
parentfda94311ee6e3ec8de0e85e91251a2744673abaf
backends: smt2: use $(CXX) variable for compiler

The Makefile assumes the compiler is called `gcc`, which isn't always
true.  In fact, if we're building on msys2 or msys2-64, the compiler
is called `i686-w64-mingw32-g++` or `x86_64-w64-mingw32-g++`.

Use the variable instead of hardcoding the name, to fix building on
these systems.

Signed-off-by: Sean Cross <sean@xobs.io>
backends/smt2/Makefile.inc