From 7c30e8c7d7ca4eccffa2bae6df5f9bba7b9335a3 Mon Sep 17 00:00:00 2001 From: "Reece H. Dunn" Date: Sat, 28 Nov 2015 11:28:09 +0000 Subject: [PATCH] Use -fPIC to support sparc/sparc64 architectures. This is based on a patch by Thomas Petazzoni. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 9d36c575..77889aa5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -148,7 +148,7 @@ lib_LTLIBRARIES += src/libespeak.la src_libespeak_la_LDFLAGS = -version-info $(SHARED_VERSION) $(wave_LIBS) -lpthread src_libespeak_la_CXXFLAGS = $(common_FLAGS) $(libespeak_FLAGS) $(wave_FLAGS) \ - -fpic -fvisibility=hidden -D LIBRARY \ + -fPIC -fvisibility=hidden -D LIBRARY \ -pedantic -fno-exceptions -D PATH_ESPEAK_DATA=\"$(DATADIR)\" src_libespeak_la_SOURCES = $(common_SOURCE) $(libespeak_SOURCE) $(wave_SOURCE)