summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsoundtouch/build/soundtouch.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/soundtouch/build/soundtouch.SlackBuild b/soundtouch/build/soundtouch.SlackBuild
index 182f88e0..40d1026f 100755
--- a/soundtouch/build/soundtouch.SlackBuild
+++ b/soundtouch/build/soundtouch.SlackBuild
@@ -152,11 +152,16 @@ chmod -R u+w,go+r-w,a-s .
# The .m4 file has CRLF at the line ends:
sed -i -e 's/\r$//' soundtouch.m4
+# Patch gcc flags:
+patch -p1 -b -z .optflags < $SRCDIR/${PRGNAM}_optflags.patch \
+ 2>&1 | tee $OUTPUT/patch-${PRGNAM}.log
+
echo Building ...
export LDFLAGS="$SLKLDFLAGS"
export CFLAGS="$SLKCFLAGS"
export CXXFLAGS="$SLKCFLAGS"
-#./bootstrap
+export AUTOMAKE="automake --add-missing --foreign"
+autoreconf -fisv && rm -f `find . -name "*~"` && rm -f ChangeLog
./configure --prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--localstatedir=/var \