diff --git a/darktable.changes b/darktable.changes index 4948c40..908ea29 100644 --- a/darktable.changes +++ b/darktable.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Apr 26 17:55:55 UTC 2013 - mrueckert@suse.de + +- First set CFLAGS and then CXXFLAGS. Sometimes we need to set + flags in CXXFLAGS that are not valid CFLAGS. + ------------------------------------------------------------------- Tue Apr 23 23:20:01 UTC 2013 - toganm@opensuse.org diff --git a/darktable.spec b/darktable.spec index 9b9fd8a..3997755 100644 --- a/darktable.spec +++ b/darktable.spec @@ -99,8 +99,8 @@ cp %{S:1} darktable-usermanual.pdf [ ! -d "build" ] && mkdir build cd build -export CXXFLAGS="%{optflags} -fno-strict-aliasing " -export CFLAGS="$CXXFLAGS" +export CFLAGS="%{optflags} -fno-strict-aliasing " +export CXXFLAGS="$CFLAGS" cmake \ -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_INSTALL=%{_lib} \