diff options
Diffstat (limited to 'meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-makefile-add-ldflags.patch')
| -rw-r--r-- | meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-makefile-add-ldflags.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-makefile-add-ldflags.patch b/meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-makefile-add-ldflags.patch new file mode 100644 index 0000000000..cc82e16cc2 --- /dev/null +++ b/meta-networking/recipes-connectivity/rdist/rdist-6.1.5/rdist-6.1.5-makefile-add-ldflags.patch | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | Add LDFLAGS variable to Makefile so that extra linker flags can be sent via this variable. | ||
| 2 | |||
| 3 | Upstream-Status: Inappropriate [no upstream] | ||
| 4 | |||
| 5 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | ||
| 6 | |||
| 7 | diff --git a/src/Makefile.real b/src/Makefile.real | ||
| 8 | index 02179e4..9070974 100644 | ||
| 9 | --- a/src/Makefile.real | ||
| 10 | +++ b/src/Makefile.real | ||
| 11 | @@ -36,10 +36,10 @@ all: src | ||
| 12 | src: $(CLIENT_BIN) $(SERVER_BIN) | ||
| 13 | |||
| 14 | $(SERVER_BIN): $(SERVEROBJS) $(COMMONOBJS) $(MISSINGOBJS) | ||
| 15 | - $(CC) -o $@ $(SERVEROBJS) $(COMMONOBJS) $(MISSINGOBJS) $(LIBS) | ||
| 16 | + $(CC) -o $@ $(SERVEROBJS) $(COMMONOBJS) $(MISSINGOBJS) $(LIBS) $(LDFLAGS) | ||
| 17 | |||
| 18 | $(CLIENT_BIN): $(CLIENTOBJS) $(COMMONOBJS) $(MISSINGOBJS) | ||
| 19 | - $(CC) -o $@ $(CLIENTOBJS) $(COMMONOBJS) $(MISSINGOBJS) $(LIBS) | ||
| 20 | + $(CC) -o $@ $(CLIENTOBJS) $(COMMONOBJS) $(MISSINGOBJS) $(LIBS) $(LDFLAGS) | ||
| 21 | |||
| 22 | $(CLIENTOBJS) $(SERVEROBJS): $(HFILES) y.tab.h | ||
| 23 | |||
