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: <CAGpXXZ+sCoenXL1j40uUB8s=p2QHTEr7+xY78eGVSyfq58T2LA@mail.gmail.com>
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
shown.

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

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

This part is mandatory:


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

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

< Previous Next >
List Navigation
Follow Ups