diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2016-11-01 17:23:04 +0800 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2016-11-14 13:01:11 -0500 |
commit | f08e9d4c7ca1e9261484e4ffedd27370109d2bba (patch) | |
tree | ffd8b13f30fc65f78a4462c101321a2ecd94dde6 /meta-networking/recipes-daemons/vblade/files | |
parent | 80450e62add364bc871d7b45f6781131e8b88d4f (diff) | |
download | meta-openembedded-f08e9d4c7ca1e9261484e4ffedd27370109d2bba.tar.gz |
vblade: fix QA warning for GNU_HASH
Add LDFLAGS variable to Makefile so that extra linker flags can be sent
via this variable.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-daemons/vblade/files')
-rw-r--r-- | meta-networking/recipes-daemons/vblade/files/makefile-add-ldflags.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/vblade/files/makefile-add-ldflags.patch b/meta-networking/recipes-daemons/vblade/files/makefile-add-ldflags.patch new file mode 100644 index 0000000000..a74452db69 --- /dev/null +++ b/meta-networking/recipes-daemons/vblade/files/makefile-add-ldflags.patch | |||
@@ -0,0 +1,19 @@ | |||
1 | Add LDFLAGS variable to Makefile, make sure the extra linker flags can be passed. | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | |||
5 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | ||
6 | |||
7 | diff --git a/makefile b/makefile | ||
8 | index 98008da..c328ba7 100644 | ||
9 | --- a/makefile | ||
10 | +++ b/makefile | ||
11 | @@ -11,7 +11,7 @@ mandir = ${sharedir}/man | ||
12 | O=aoe.o bpf.o ${PLATFORM}.o ata.o | ||
13 | |||
14 | vblade: $O | ||
15 | - ${CC} -o vblade $O | ||
16 | + ${CC} ${LDFLAGS} -o vblade $O | ||
17 | |||
18 | aoe.o : aoe.c config.h dat.h fns.h makefile | ||
19 | ${CC} ${CFLAGS} -c $< | ||