diff options
Diffstat (limited to 'meta/recipes-devtools/ossp-uuid/ossp-uuid/ldflags.patch')
-rw-r--r-- | meta/recipes-devtools/ossp-uuid/ossp-uuid/ldflags.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-devtools/ossp-uuid/ossp-uuid/ldflags.patch b/meta/recipes-devtools/ossp-uuid/ossp-uuid/ldflags.patch new file mode 100644 index 0000000000..f4f0ef870e --- /dev/null +++ b/meta/recipes-devtools/ossp-uuid/ossp-uuid/ldflags.patch | |||
@@ -0,0 +1,26 @@ | |||
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) | ||