On Sonntag, 4. Juni 2017, 10:09:20 CEST wrote Hans-Peter Jansen:
Hi Adrian,
On Sonntag, 4. Juni 2017 08:40:12 Adrian Schröter wrote:
On Sonntag, 4. Juni 2017, 00:18:20 CEST wrote Hans-Peter Jansen:
Hi,
is it possible to redefine CXXFLAGS in prjconf?
not directly, but you can specify the optflags handed over to rpm-build. Proper spec files are using them for CFLAGS/CXXFLAGS
These are our defaults:
# osc meta prjconf openSUSE:Factory | grep -i optflags
will try that. Hopefully gcc will not complain, if given g++ options (-std=c++11). Is the star argument of optflags supported properly by older distributions?
this is just OBS mechanics, the distro build will get it via the optflags rpm macro.
I thought of redefining %configure already, but asked in order to not miss a more minimum invasive option...
nah .... a compiler wrapper might be the better option then ... -- Adrian Schroeter email: adrian@suse.de SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org