Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | Obey LDFLAGS |
| 2 | |
| 3 | Signed-off-by: Christopher Larson <chris_larson@mentor.com> |
| 4 | Upstream-Status: Inappropriate [old version] |
| 5 | |
| 6 | --- gdbm-1.8.3.orig/Makefile.in |
| 7 | +++ gdbm-1.8.3/Makefile.in |
| 8 | @@ -156,12 +156,12 @@ install-compat: |
| 9 | |
| 10 | libgdbm.la: $(LOBJS) gdbm.h |
| 11 | rm -f libgdbm.la |
| 12 | - $(LIBTOOL) --mode=link $(CC) -o libgdbm.la -rpath $(libdir) \ |
| 13 | + $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o libgdbm.la -rpath $(libdir) \ |
| 14 | -version-info $(SHLIB_VER) $(LOBJS) |
| 15 | |
| 16 | libgdbm_compat.la: $(C_LOBJS) gdbm.h |
| 17 | rm -f libgdbm_compat.la |
| 18 | - $(LIBTOOL) --mode=link $(CC) -o libgdbm_compat.la -rpath $(libdir) \ |
| 19 | + $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o libgdbm_compat.la -rpath $(libdir) \ |
| 20 | -version-info $(SHLIB_VER) $(C_LOBJS) |
| 21 | |
| 22 | gdbm.h: gdbm.proto gdbmerrno.h gdbm.proto2 |