This should be added to `CXXFLAGS` instead. Also, please create an upstream issue about this.