On Tue, 24 Jan 2017 08:06:14 +0100
Mattia Verga <mattia.verga(a)tiscali.it> 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 -std=gnu++11" [2] and the latter wins (I think).
How can I override that setting?
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