
patchbot at xen
Apr 5, 2012, 7:33 PM
Post #1 of 1
(41 views)
Permalink
|
|
[xen-unstable] tools/vtpm: use LDLIBS to pass -lgmp
|
|
# HG changeset patch # User Olaf Hering <olaf [at] aepfle> # Date 1333462341 -3600 # Node ID c5b7d49ca3ee29b76ebb3e0a99861733d3757f4b # Parent 79117b669f6fb7f22c8f014de0df602cd7c52d7d tools/vtpm: use LDLIBS to pass -lgmp Linking tpmd will fail with recent toolchains because -lgmp is passed via LDFLAGS instead of LDLIBS. With this change -lgpm is placed at the end of the gcc cmdline and linking tpmd succeeds again. Signed-off-by: Olaf Hering <olaf [at] aepfle> Acked-by: Ian Jackson <ian.jackson [at] eu> Committed-by: Ian Jackson <ian.jackson [at] eu> --- diff -r 79117b669f6f -r c5b7d49ca3ee tools/vtpm/vtpm-0.5.1.patch --- a/tools/vtpm/vtpm-0.5.1.patch Tue Apr 03 14:40:08 2012 +0100 +++ b/tools/vtpm/vtpm-0.5.1.patch Tue Apr 03 15:12:21 2012 +0100 @@ -74,7 +74,7 @@ diff -Naurp tpm_emulator-0.5.1/tpmd/Make #WFLAGS += -Wextra -Wcast-qual -Wmissing-prototypes -Wmissing-declarations -Wstrict-aliasing CFLAGS += $(WFLAGS) -g -I.. -I. -O2 -fno-strict-aliasing +CFLAGS += -I../../../../tools/vtpm_manager/manager - LDFLAGS += -lgmp + LDLIBS += -lgmp -BINDIR := /usr/sbin/ +BINDIR := /usr/bin/ _______________________________________________ Xen-changelog mailing list Xen-changelog [at] lists http://lists.xensource.com/xen-changelog
|