I ran into the same error. Setting
CXX14=$(BINPREF)g++ -O2 -march=native -mtune=native
solved if for me.