diff --git a/soundtouch.spec b/soundtouch.spec index ec1337a..49d80e3 100644 --- a/soundtouch.spec +++ b/soundtouch.spec @@ -38,7 +38,11 @@ Libraries, include files, etc you can use to develop soundtouch applications. sed -i 's/-rpath $(libdir)/-rpath $(libdir) -version-number %{ltversion}/' \ source/SoundTouch/Makefile.in # force use of our CFLAGS +%ifarch %{ix86} +sed -i 's|-O3 -msse|$(CFLAGS) -msse|' source/SoundTouch/Makefile.* +%else sed -i 's|-O3 -msse|$(CFLAGS)|' source/SoundTouch/Makefile.* +%endif sed -i 's|-O3|$(CFLAGS)|' source/example/*/Makefile.* # cleanup a bit chmod -x README.html