From 30fbdcdbde92314e59eb7bec31ebc20f991380f9bae4b16f8e6a39ba6825631a Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Mon, 24 Sep 2012 10:06:50 +0000 Subject: [PATCH] Accepting request 135604 from home:AndreasSchwab:ff - Use %{optflags} OBS-URL: https://build.opensuse.org/request/show/135604 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/fluidsynth?expand=0&rev=29 --- fluidsynth.changes | 5 +++++ fluidsynth.spec | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) 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