Closed orbea closed 5 years ago
I always use make CXX=clang++
, so Make ignores that assignment. But allowing env to win does indeed make sense.
That C/C++ mismatch would be annoying to fix with the current makefile scheme, and I doubt it's worthwhile. And it'd show up if you do make CXX=clang++ on current head, anyways; you're not adding any new bugs.
This allows overriding
CXX
with an environment variable so that I can build flips withclang++
instead ofg++
.Warning this exposes a new issue when build with
clang-8.0.0
.I tested this with one sfc patch and found it created identical files when built with
g++
andclang++
.