You can see for example what Fedora did: http://pkgs.fedoraproject.org/cgit/inkscape.git/tree/inkscape.spec
# Build in C++11 mode as glibmm headers use C++11 features. This can be dropped
# when GCC in Fedora switches to C++11 by default (with GCC 6, most likely).
export CXXFLAGS="%{optflags} -std=c++11"
@maintainer, summary is also in parent bug
You can see for example what Fedora did: pkgs.fedoraproj ect.org/ cgit/inkscape. git/tree/ inkscape. spec "%{optflags} -std=c++11"
http://
# Build in C++11 mode as glibmm headers use C++11 features. This can be dropped
# when GCC in Fedora switches to C++11 by default (with GCC 6, most likely).
export CXXFLAGS=