Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 1 | From 1fb68433bde97d571fc781b52c9521b17fbb8df0 Mon Sep 17 00:00:00 2001 |
| 2 | From: Changqing Li <changqing.li@windriver.com> |
| 3 | Date: Tue, 24 Jul 2018 17:42:43 +0800 |
| 4 | Subject: [PATCH] dlm: fix package qa error |
| 5 | |
| 6 | pass LDFLAG to makefile to fix below error: |
| 7 | do_package_qa: QA Issue: No GNU_HASH in the elf binary: |
| 8 | /packages-split/dlm/usr/sbin/dlm_stonith' [ldflags] |
| 9 | |
| 10 | Upstream-Status: Inappropriate[oe-specific] |
| 11 | |
| 12 | Signed-off-by: Changqing Li <changqing.li@windriver.com> |
| 13 | --- |
| 14 | fence/Makefile | 2 +- |
| 15 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 16 | |
| 17 | diff --git a/fence/Makefile b/fence/Makefile |
| 18 | index cca0b2c..2b3963c 100644 |
| 19 | --- a/fence/Makefile |
| 20 | +++ b/fence/Makefile |
| 21 | @@ -33,7 +33,7 @@ BIN_CFLAGS += -fPIE -DPIE |
| 22 | BIN_CFLAGS += `pkg-config libxml-2.0 --cflags` |
| 23 | BIN_CFLAGS += -I../include |
| 24 | |
| 25 | -BIN_LDFLAGS += -Wl,-z,now -Wl,-z,relro -pie |
| 26 | +BIN_LDFLAGS += $(LDFLAGS) -Wl,-z,now -Wl,-z,relro -pie |
| 27 | BIN_LDFLAGS += `pkg-config libxml-2.0 --libs` |
| 28 | BIN_LDFLAGS += -ldl |
| 29 | |
| 30 | -- |
| 31 | 2.7.4 |
| 32 | |