Closed stanhu closed 4 years ago
https://github.com/brianmario/charlock_holmes/pull/148 mandates the -std=c++11 flag but older g++ versions (pre v4.7) don't support this.
-std=c++11
CentOS 6 ships with g++ v4.4.7, which doesn't support the -std=c++11 flag but does support -std=c++0x.
-std=c++0x
Right now it doesn't appear there's a way to disable this flag. Perhaps if CXXFLAGS has -std= defined, we can skip that?
CXXFLAGS
-std=
https://github.com/brianmario/charlock_holmes/pull/148 mandates the
-std=c++11
flag but older g++ versions (pre v4.7) don't support this.CentOS 6 ships with g++ v4.4.7, which doesn't support the
-std=c++11
flag but does support-std=c++0x
.Right now it doesn't appear there's a way to disable this flag. Perhaps if
CXXFLAGS
has-std=
defined, we can skip that?