Discussion:
[Xen-changelog] [xen master] pygrub fsimage.so: Honour LDFLAGS when building
p***@xen.org
2018-11-04 04:56:25 UTC
Permalink
commit afe7032f6fb5ae3c0f2a9666bbbcc9a811da4c38
Author: Ian Jackson <***@citrix.com>
AuthorDate: Thu Oct 4 12:32:00 2018 +0100
Commit: Ian Jackson <***@eu.citrix.com>
CommitDate: Mon Oct 15 14:49:33 2018 +0100

pygrub fsimage.so: Honour LDFLAGS when building

This seems to have been simply omitted. Obviously this is needed when
building and not just when installing. Passing only when installing
is ineffective.

Signed-off-by: Ian Jackson <***@citrix.com>
Acked-by: Wei Liu <***@citrix.com>
---
tools/pygrub/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/pygrub/Makefile b/tools/pygrub/Makefile
index 536af07932..3063c4998f 100644
--- a/tools/pygrub/Makefile
+++ b/tools/pygrub/Makefile
@@ -10,7 +10,7 @@ INSTALL_LOG = build/installed_files.txt
all: build
.PHONY: build
build:
- CC="$(CC)" CFLAGS="$(PY_CFLAGS)" $(PYTHON) setup.py build
+ CC="$(CC)" CFLAGS="$(PY_CFLAGS)" LDFLAGS="$(PY_LDFLAGS)" $(PYTHON) setup.py build

.PHONY: install
install: all
--
generated by git-patchbot for /home/xen/git/xen.git#master

Loading...