diff --git a/fluidsynth.changes b/fluidsynth.changes index e233e21..1d2aa58 100644 --- a/fluidsynth.changes +++ b/fluidsynth.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Sep 24 09:43:15 UTC 2012 - schwab@linux-m68k.org + +- Use %{optflags} + ------------------------------------------------------------------- Fri Sep 21 22:50:34 UTC 2012 - zaitor@opensuse.org diff --git a/fluidsynth.spec b/fluidsynth.spec index 6507968..aa34c59 100644 --- a/fluidsynth.spec +++ b/fluidsynth.spec @@ -70,7 +70,8 @@ This package contains the shared library for Fluidsynth. %build mkdir build cd build -cmake .. -DCMAKE_INSTALL_PREFIX=%{_prefix} -Denable-ladspa=1 +cmake .. -DCMAKE_INSTALL_PREFIX=%{_prefix} -Denable-ladspa=1 \ + -DCMAKE_C_FLAGS="%{optflags}" make %{?_smp_mflags} VERBOSE=1 %install