summaryrefslogtreecommitdiffstats
path: root/soundtouch
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2007-06-23 13:25:57 +0000
committer Eric Hameleers <alien@slackware.com>2007-06-23 13:25:57 +0000
commitbc7c3b445d8f838a910251ee8697137ef4f57856 (patch)
tree25ef5b76e9e94ec494e036003a2b70bbc6ca5110 /soundtouch
parent4e3dcf7d3b59741a970de9b11a30bb7d7af374a6 (diff)
downloadasb-bc7c3b445d8f838a910251ee8697137ef4f57856.tar.gz
asb-bc7c3b445d8f838a910251ee8697137ef4f57856.tar.xz
Patched better gcc flags are used
Diffstat (limited to 'soundtouch')
-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 \