- Patch makefiles so that our RPM_OPT_FLAGS get used instead of the custom
upstream CFLAGS.
This commit is contained in:
parent
c7d963e485
commit
405eab765f
|
@ -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}/' \
|
sed -i 's/-rpath $(libdir)/-rpath $(libdir) -version-number %{ltversion}/' \
|
||||||
source/SoundTouch/Makefile.in
|
source/SoundTouch/Makefile.in
|
||||||
# force use of our CFLAGS
|
# 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.*
|
sed -i 's|-O3 -msse|$(CFLAGS)|' source/SoundTouch/Makefile.*
|
||||||
|
%endif
|
||||||
sed -i 's|-O3|$(CFLAGS)|' source/example/*/Makefile.*
|
sed -i 's|-O3|$(CFLAGS)|' source/example/*/Makefile.*
|
||||||
# cleanup a bit
|
# cleanup a bit
|
||||||
chmod -x README.html
|
chmod -x README.html
|
||||||
|
|
Loading…
Reference in New Issue