[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Search]

[PATCH] server makefiles should respect LDFLAGS



---
 servers/linux-espeak/Makefile  |    2 +-
 servers/linux-outloud/Makefile |    4 ++--
 servers/software-dtk/Makefile  |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/servers/linux-espeak/Makefile b/servers/linux-espeak/Makefile
index 2fd8f66..d247b04 100644
--- a/servers/linux-espeak/Makefile
+++ b/servers/linux-espeak/Makefile
@@ -15,7 +15,7 @@ TTS=tclespeak.so
 all:   $(TTS)
 
 $(TTS): tclespeak.o
-	$(CXX) -shared -o $@ $< $(LIBS)
+	$(CXX) $(LDFLAGS) -shared -o $@ $< $(LIBS)
 
 clean:
 	rm -f *.so *.o
diff --git a/servers/linux-outloud/Makefile b/servers/linux-outloud/Makefile
index 0e5a061..c6915a8 100644
--- a/servers/linux-outloud/Makefile
+++ b/servers/linux-outloud/Makefile
@@ -15,10 +15,10 @@ LIBS= -ltcl$(TCL_VERSION) -lasound -ldl
 all:   atcleci.so
 
 atcleci.so: langswitch.o atcleci.o
-	$(CXX) -m32 -shared -o $@ langswitch.o atcleci.o $(LIBS)
+	$(CXX) $(LDFLAGS) -m32 -shared -o $@ langswitch.o atcleci.o $(LIBS)
 
 alsaparams: alsaparams.o
-	$(CC) -o $@ alsaparams.o -lasound
+	$(CC) $(LDFLAGS) -o $@ alsaparams.o -lasound
 
 clean:
 	rm -f *.so *.o 
diff --git a/servers/software-dtk/Makefile b/servers/software-dtk/Makefile
index 383592e..1b623bd 100644
--- a/servers/software-dtk/Makefile
+++ b/servers/software-dtk/Makefile
@@ -11,7 +11,7 @@ SERVER_DIR=/usr/share/emacs/site-lisp/emacspeak/servers/software-dtk
 FILES=tcldtk.c tcldtk.so tcldtk.o Makefile
 
 tcldtk.so: tcldtk.o
-	$(CC) -shared -o $@ $< $(LIBS)
+	$(CC) $(LDFLAGS) -shared -o $@ $< $(LIBS)
 
 dist: software-dtk.tar.gz
 
-- 
1.7.2.2

-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a
subject of "unsubscribe" or "help".



If you have questions about this archive or had problems using it, please send mail to:

priestdo@xxxxxxxxxxx No Soliciting!

Emacspeak List Archive | 2010 | 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 | 2000 | 1999 | 1998 | Pre 1998

Emacspeak Files | Emacspeak Blog