rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / library / speech-dispatcher / patches / 02-src-modules-Makefile.am.patch
bloba5cfbe20cb80ddbba9548535b93366229e3ddc46
1 diff --git a/src/modules/Makefile.am b/src/modules/Makefile.am
2 index a26b75f..b5685b1 100644
3 --- a/src/modules/Makefile.am
4 +++ b/src/modules/Makefile.am
5 @@ -87,7 +87,7 @@ sd_ibmtts_LDFLAGS = -Wl,-rpath=/opt/IBM/ibmtts/lib
6 EXTRA_sd_ibmtts_DEPENDENCIES = libibmeci.so
8 libibmeci.so: $(srcdir)/ibmtts_shim.c
9 - $(CC) -fPIC -shared $< -o $@
10 + $(CC) $(CFLAGS) -fPIC -shared $< -o $@
12 CLEANFILES += $(EXTRA_sd_ibmtts_DEPENDENCIES)
13 endif
14 @@ -143,7 +143,7 @@ sd_baratinoo_LDADD += -L.
15 EXTRA_sd_baratinoo_DEPENDENCIES = libbaratinoo.so
17 libbaratinoo.so: $(srcdir)/baratinoo_shim.c
18 - $(CC) -fPIC -shared $< -o $@
19 + $(CC) $(CFLAGS) -fPIC -shared $< -o $@
21 CLEANFILES += $(EXTRA_sd_baratinoo_DEPENDENCIES)
22 endif
23 @@ -168,7 +168,7 @@ noinst_HEADERS = kali_shim/kali/Kali/kali.h module_utils_speak_queue.h
24 EXTRA_sd_kali_DEPENDENCIES = libKali.so libKGlobal.so libKTrans.so libKParle.so libKAnalyse.so
26 lib%.so: $(srcdir)/kali_%_shim.cpp
27 - $(CXX) -fPIC -shared $< -o $@ -I$(srcdir)/kali_shim
28 + $(CXX) $(CXXFLAGS) -fPIC -shared $< -o $@ -I$(srcdir)/kali_shim
30 CLEANFILES += $(EXTRA_sd_kali_DEPENDENCIES)
31 endif
32 @@ -191,7 +191,7 @@ sd_voxin_LDADD += -L.
33 EXTRA_sd_voxin_DEPENDENCIES = libvoxin.so
35 libvoxin.so: $(srcdir)/voxin_shim.c
36 - $(CC) -fPIC -shared $< -o $@
37 + $(CC) $(CFLAGS) -fPIC -shared $< -o $@
39 CLEANFILES += $(EXTRA_sd_voxin_DEPENDENCIES)
40 endif