Mailinglist Archive: opensuse-buildservice (176 mails)

< Previous Next >
Re: [opensuse-buildservice] Build RPM with GCC6
  • From: Greg Freemyer <greg.freemyer@xxxxxxxxx>
  • Date: Fri, 31 Mar 2017 08:21:54 -0400
  • Message-id: <>
On Fri, Mar 31, 2017 at 8:10 AM, Till Dörges <doerges@xxxxxxxxxxxx> wrote:
Am 31.03.2017 um 14:06 schrieb Jan Engelhardt:

Oh you can also use the gcc6 from the base, there is no hard requirement
for devel:gcc. But in either case, no messing with prjconf is necessary
- nor helpful - so just stick to selecting the desired CXX program as

Okay. But AFAICT the latter (stick to selecting the desired CXX program) is
what I tried. ;-)

A simple "BuildRequires: gcc6-c++" in the SPEC file already leads to an
by OBS.

This part is mandatory:

export CXX=g++-6
%configure. ..

To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
List Navigation
Follow Ups