Re: overriding CXX_FLAGS

2017-02-05 Thread Ben Boeckel
On Tue, 24 Jan, 2017 at 07:06:14 GMT, Mattia Verga wrote: > In the latest version of RawTherapee, developers suggest the use of > -DCMAKE_CXX_FLAGS="-std=c++11". > > I've tried to modify the .spec file with > -DCMAKE_CXX_FLAGS="$RPM_OPT_FLAGS -std=c++11" [1], but koji still use > "-std=c++11 -st

Re: overriding CXX_FLAGS

2017-01-24 Thread Jan Kratochvil
On Tue, 24 Jan 2017 10:54:32 +0100, Mattia Verga wrote: > I must ask developers why they recommend to use c++11 and then they set it > fixed to gnu++11 gnu++11 is a superset of c++11 so that should work either. Older GCCs defaulted to c++98, they may mean the project requires compiler support

Re: overriding CXX_FLAGS

2017-01-24 Thread Mattia Verga
Il 24/01/2017 08:25, Dan Horák ha scritto: no need to override the flags, RawTherapee sets -std=gnu++11 for you in https://github.com/Beep6581/RawTherapee/blob/master/CMakeLists.txt#L23 Dan ___ devel mailing list -- devel@lists.fedor

Re: overriding CXX_FLAGS

2017-01-23 Thread Dan Horák
On Tue, 24 Jan 2017 08:06:14 +0100 Mattia Verga wrote: > In the latest version of RawTherapee, developers suggest the use of > -DCMAKE_CXX_FLAGS="-std=c++11". > > I've tried to modify the .spec file with > -DCMAKE_CXX_FLAGS="$RPM_OPT_FLAGS -std=c++11" [1], but koji still use > "-std=c++11 -st

overriding CXX_FLAGS

2017-01-23 Thread Mattia Verga
In the latest version of RawTherapee, developers suggest the use of -DCMAKE_CXX_FLAGS="-std=c++11". I've tried to modify the .spec file with -DCMAKE_CXX_FLAGS="$RPM_OPT_FLAGS -std=c++11" [1], but koji still use "-std=c++11 -std=gnu++11" [2] and the latter wins (I think). How can I override t