diff options
Diffstat (limited to 'app-accessibility/emacspeak/files/emacspeak-33.0-respect-ldflags.patch')
-rw-r--r-- | app-accessibility/emacspeak/files/emacspeak-33.0-respect-ldflags.patch | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/app-accessibility/emacspeak/files/emacspeak-33.0-respect-ldflags.patch b/app-accessibility/emacspeak/files/emacspeak-33.0-respect-ldflags.patch new file mode 100644 index 000000000000..57f4eb65e65c --- /dev/null +++ b/app-accessibility/emacspeak/files/emacspeak-33.0-respect-ldflags.patch @@ -0,0 +1,57 @@ +From aa02a6b3aed32612ca1c2c69fc9d0234efeeef0e Mon Sep 17 00:00:00 2001 +From: William Hubbs <w.d.hubbs@gmail.com> +Date: Wed, 1 Dec 2010 17:41:35 -0600 +Subject: [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 + |