Mailinglist Archive: opensuse-buildservice (176 mails)

< Previous Next >
Re: [opensuse-buildservice] Build RPM with GCC6
On Friday 2017-03-31 13:59, Till Dörges wrote:

Am 31.03.2017 um 13:57 schrieb Jan Engelhardt:

Or what do I have to do to build with gcc6 in OBS for openSUSE Leap 42.2?

<repository name="openSUSE_Leap_42.2">
<path project="devel:gcc" repository="openSUSE_Leap_42.2">
...
</repository>

&&

BuildRequires: gcc6-c++
&&
%build
export CXX=g++-6
%configure ...

Uh, does that mean building with gcc6 with only native Leap 42.2 packages does
not work?

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.
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
List Navigation
Follow Ups