g++: error: unrecognized command line option '-std=c++14' while running mod_tile osm package
Hi All, I'm using gcc version as below and added the export export CXX="g++" && export CC="gcc"
[root@3683d11-ux bin]# gcc --version
gcc (GCC) 8.3.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
and while doing make install mod_tile (osm) I'm getting below issue, please somebody help what is the issue
86_64/freetype/2.7.1/lib/libfreetype.a -licudata -lz -ldl -lcurl /usr/local/lib/libiniparser.so -Liniparser3.0b/.libs -lm -pthread
*g++: error: unrecognized command line option '-std=c++14'*
make[2]: *** [renderd] Error 1
make[2]: Leaving directory `/home/suresha.k/osmOffline/mod_tile'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/suresha.k/osmOffline/mod_tile'
make: *** [install-recursive] Error 1
Thanks, Suresh
Edited by Suresh Kb