I have a Pi zero and an odroid, with Pi 2 and Pi 3 configuration, i have compilation errors too
g++: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
g++: error: unrecognized command line option ‘-mfpu=neon-vfpv4’
g++: error: unrecognized command line option ‘-mfloat-abi=hard’
Makefile:426: recipe for target 'gles2rice/src/gDP_rice.o' failed
make: *** [gles2rice/src/gDP_rice.o] Error 1
make: *** Waiting for unfinished jobs....
g++: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
g++: error: unrecognized command line option ‘-mfpu=neon-vfpv4’
g++: error: unrecognized command line option ‘-mfloat-abi=hard’
Makefile:426: recipe for target 'gles2rice/src/gSP_rice.o' failed
make: *** [gles2rice/src/gSP_rice.o] Error 1
g++: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
g++: error: unrecognized command line option ‘-mfpu=neon-vfpv4’
g++: error: unrecognized command line option ‘-mfloat-abi=hard’
Makefile:426: recipe for target 'gles2rice/src/Blender.o' failed
make: *** [gles2rice/src/Blender.o] Error 1
I think i have a wrong version of g++.
Edit: same error with 4.8 version.