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: Pending |
| 5 | |
| 6 | --- uuid-1.6.2.orig/Makefile.in |
| 7 | +++ uuid-1.6.2/Makefile.in |
| 8 | @@ -113,15 +113,15 @@ all: $(TARGETS) |
| 9 | @$(LIBTOOL) --mode=compile $(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $< |
| 10 | |
| 11 | $(LIB_NAME): $(LIB_OBJS) |
| 12 | - @$(LIBTOOL) --mode=link $(CC) -o $(LIB_NAME) $(LIB_OBJS) -rpath $(libdir) \ |
| 13 | + @$(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $(LIB_NAME) $(LIB_OBJS) -rpath $(libdir) \ |
| 14 | -version-info `$(SHTOOL) version -l c -d libtool $(S)/uuid_vers.h` |
| 15 | |
| 16 | $(DCE_NAME): $(DCE_OBJS) |
| 17 | - @$(LIBTOOL) --mode=link $(CC) -o $(DCE_NAME) $(DCE_OBJS) -rpath $(libdir) \ |
| 18 | + @$(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $(DCE_NAME) $(DCE_OBJS) -rpath $(libdir) \ |
| 19 | -version-info `$(SHTOOL) version -l c -d libtool $(S)/uuid_vers.h` |
| 20 | |
| 21 | $(CXX_NAME): $(CXX_OBJS) |
| 22 | - @$(LIBTOOL) --mode=link $(CXX) -o $(CXX_NAME) $(CXX_OBJS) -rpath $(libdir) \ |
| 23 | + @$(LIBTOOL) --mode=link $(CXX) $(LDFLAGS) -o $(CXX_NAME) $(CXX_OBJS) -rpath $(libdir) \ |
| 24 | -version-info `$(SHTOOL) version -l c -d libtool $(S)/uuid_vers.h` |
| 25 | |
| 26 | $(PRG_NAME): $(PRG_OBJS) $(LIB_NAME) |