flite fix
This commit is contained in:
@@ -17,9 +17,14 @@ NoStrip = ["/usr/lib"]
|
||||
def setup():
|
||||
#shelltools.system("sed '/^#VOXES.*$/d; s/+//g; s/cmu_indic_lex/&\nVOXES = cmu_us_kal16 cmu_us_slt/' config/android.lv >config/pisilinux.lv")
|
||||
#shelltools.system("sed -i '/$(INSTALL) -m 755 $(BINDIR)\/flite_time $(DESTDIR)$(INSTALLBINDIR)/d' main/Makefile")
|
||||
shelltools.export("CC", "clang -fuse-ld=lld")
|
||||
shelltools.export("CXX", "clang++ -fuse-ld=lld")
|
||||
shelltools.export("AR", "llvm-ar")
|
||||
shelltools.export("RANLIB", "llvm-ranlib")
|
||||
shelltools.export("LDFLAGS", "-lasound -lm")
|
||||
autotools.configure("--prefix=/usr \
|
||||
--enable-shared \
|
||||
--disable-shared \
|
||||
--with-pic \
|
||||
--with-audio=alsa \
|
||||
--with-vox=cmu_us_kal16")
|
||||
|
||||
@@ -29,6 +34,6 @@ def build():
|
||||
def install():
|
||||
autotools.install()
|
||||
|
||||
pisitools.remove("/usr/lib/*.a")
|
||||
#pisitools.remove("/usr/lib/*.a")
|
||||
|
||||
pisitools.dodoc("COPYING", "README*")
|
||||
|
||||
Reference in New Issue
Block a user