From: tommat Date: Fri, 15 Feb 2008 16:53:21 +0000 (+0000) Subject: - use fPIC instead of fpic on sparc64 X-Git-Tag: auto/th/espeak-1_36-1~1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fespeak.git;a=commitdiff_plain;h=339b9ee8227080c31fc836fb379e484d62064a78 - use fPIC instead of fpic on sparc64 Changed files: espeak.spec -> 1.35 --- diff --git a/espeak.spec b/espeak.spec index 7a77f2f..430a52f 100644 --- a/espeak.spec +++ b/espeak.spec @@ -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}" \