patch-ad 483 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD$

Don't overwrite LDFLAGS, only add to it.  We might get flags
via the build environment, but not during the configure stage.

--- Makefile.in.orig	2012-04-16 13:08:14.000000000 +0000
+++ Makefile.in
@@ -207,7 +207,7 @@ INSTALL_DATA = @INSTALL_DATA@
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
 INSTALL_SCRIPT = @INSTALL_SCRIPT@
 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-LDFLAGS = @LDFLAGS@
+LDFLAGS += @LDFLAGS@
 LIBOBJS = @LIBOBJS@
 LIBS = @LIBS@
 LTLIBOBJS = @LTLIBOBJS@