mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-06 15:12:24 +00:00
Define _DEFAULT_SOURCE in addition to _BSD_SOURCE to prevent a warning on glibc >= 2.20.
This commit is contained in:
+1
-1
@@ -101,7 +101,7 @@ lib_LTLIBRARIES += src/libespeak-ng.la
|
||||
|
||||
src_libespeak_ng_la_LDFLAGS = -version-info $(SHARED_VERSION) -lpthread -lm
|
||||
src_libespeak_ng_la_CFLAGS = -Isrc/include \
|
||||
-fPIC -fvisibility=hidden -D _BSD_SOURCE -D _POSIX_C_SOURCE=200112L \
|
||||
-fPIC -fvisibility=hidden -D _BSD_SOURCE -D_DEFAULT_SOURCE -D _POSIX_C_SOURCE=200112L \
|
||||
-pedantic -fno-exceptions -D PATH_ESPEAK_DATA=\"$(DATADIR)\"
|
||||
src_libespeak_ng_la_SOURCES = \
|
||||
src/libespeak-ng/compiledata.c \
|
||||
|
||||
Reference in New Issue
Block a user