Blame SOURCES/espeak-1.47-ftbs-ld-libm.patch

948386
diff --git a/src/Makefile b/src/Makefile
948386
index f04b4c4..b8d4b19 100644
948386
--- a/src/Makefile
948386
+++ b/src/Makefile
948386
@@ -83,15 +83,15 @@ libespeak_SOURCES = speak_lib.cpp compiledict.cpp dictionary.cpp intonation.cpp
948386
 
948386
 SRCS1=$(speak_SOURCES)
948386
 OBJS1=$(patsubst %.cpp,%.o,$(SRCS1))
948386
-LIBS1=-lstdc++ $(LIB_AUDIO) -lpthread $(EXTRA_LIBS)
948386
+LIBS1=-lstdc++ -lm $(LIB_AUDIO) -lpthread $(EXTRA_LIBS)
948386
 
948386
 SRCS2=$(libespeak_SOURCES)
948386
 OBJS2=$(patsubst %.cpp,x_%.o,$(SRCS2))
948386
-LIBS2=-lstdc++ $(LIB_AUDIO) -lpthread
948386
+LIBS2=-lstdc++ -lm $(LIB_AUDIO) -lpthread
948386
 
948386
 SRCS3 = espeak.cpp
948386
 OBJS3=$(patsubst %.cpp,%.o,$(SRCS3))
948386
-LIBS3=-lstdc++ -L . -lespeak
948386
+LIBS3=-lstdc++ -lm -L . -lespeak
948386
 
948386
 CXXFLAGS=-O2
948386