blob: 764411d22ae4ee753f710c2b65bae9a5a1093fa0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
From: Bernhard Walle <bernhard@bwalle.de>
Date: Sun, 22 Jan 2012 00:03:59 +0100
Subject: [PATCH] Don't use LDFLAGS when building the documentation generator
The documentation generator is a tool running on the build machine.
Therefore the LDFLAGS computed for the cross compiler may not work, such
as the "-Wl,-rpath-link" flag which is not understood by the Darwin
linker.
The doc2gih is simple and doesn't require an external library. So we
don't also need special LDFLAGS. Omit them.
Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
---
docs/Makefile.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/Makefile.in b/docs/Makefile.in
index 1552a3b76da1..d48dac68c590 100644
--- a/docs/Makefile.in
+++ b/docs/Makefile.in
@@ -85,7 +85,7 @@ LIBS = @LIBS@
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
CCLD = $(CC)
-LINK = $(CCLD) $(CFLAGS) $(LDFLAGS) -o $@
+LINK = $(CCLD) $(CFLAGS) -o $@
.c.o:
$(COMPILE) -c $<
|