From cac9e0a66612520179e16ce249400d525425f6348fde1d344412d9ccacc690e5 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Mon, 6 May 2013 07:02:39 +0000 Subject: [PATCH] Accepting request 174467 from graphics Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/174467 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/darktable?expand=0&rev=29 --- darktable.changes | 6 ++++++ darktable.spec | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) 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} \