On Sonntag, 4. Juni 2017 10:28:02 Jan Engelhardt wrote:
On Sunday 2017-06-04 10:09, Hans-Peter Jansen wrote:
# osc meta prjconf openSUSE:Factory | grep -i optflags
will try that. Hopefully gcc will not complain, if given g++ options
Nope; optflags is used to populate both CFLAGS, CXXFLAGS and Fortran Flags, and true to its name, was meant for language-independent optimization flags. If your package needs c++11, say so in the .spec file with an export CXXFLAGS=... line
Thanks Jan for chiming in, but the idea was to *avoid* changing all the specs in a project in order to build for older distributions, which had other defaults compared to the Factory g++... Cheers, Pete -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org