]> git.pld-linux.org Git - packages/espeak.git/blobdiff - espeak.spec
- use fPIC instead of fpic on sparc64
[packages/espeak.git] / espeak.spec
index 7a77f2f74d26f43975853ae1423014bd97607a5e..430a52ffa2f0265a22cb1006cada4eb575dc50aa 100644 (file)
@@ -117,6 +117,10 @@ eSpeak - biblioteki statyczne.
 # remove pernicious headers to avoid using them during build instead of %{_includedir}/portaudio.h system header
 rm -f src/portaudio{18,19,}.h
 
+%ifarch sparc64
+sed -i -e 's/-fpic/-fPIC/g' src/Makefile
+%endif
+
 %build
 %{__make} -C src \
        CXX="%{__cxx}" \
This page took 0.220071 seconds and 4 git commands to generate.