flite rebuild

This commit is contained in:
Rmys
2020-04-16 09:51:09 +03:00
parent 42069ce8be
commit ad4ec65dca
2 changed files with 14 additions and 7 deletions
+4 -4
View File
@@ -17,10 +17,10 @@ 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("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 \