summaryrefslogtreecommitdiff
path: root/extra/festival/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/festival/PKGBUILD')
-rw-r--r--extra/festival/PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/festival/PKGBUILD b/extra/festival/PKGBUILD
index 4ec82f8d7..c33899998 100644
--- a/extra/festival/PKGBUILD
+++ b/extra/festival/PKGBUILD
@@ -37,7 +37,7 @@ build() {
# Build Speech Tools first
cd "$srcdir/speech_tools"
patch -Np1 -i "$srcdir/speechconfig.patch"
- ./configure --prefix=/usr --sysconfdir=/etc
+ ./configure --prefix=/usr --sysconfdir=/etc --build=$CHOST --host=$CHOST
make OPTIMISE_CXXFLAGS="${CXXFLAGS}" OPTIMISE_CCFLAGS="${CFLAGS}"
# Build Festival itself
@@ -47,7 +47,7 @@ build() {
# Avoid make failure on making scripts and docs
sed -i "s#examples bin doc#examples#" Makefile
- ./configure --prefix=/usr --sysconfdir=/etc
+ ./configure --prefix=/usr --sysconfdir=/etc --build=$CHOST --host=$CHOST
make OPTIMISE_CXXFLAGS="${CXXFLAGS}" OPTIMISE_CCFLAGS="${CFLAGS}"
}