tools/xenalyze: append argp LD flags if needed
PATCH 1/1 tools/xenalyze: append argp LD flags if needed
This is a side-effect of commit c36e1c, which currently prevents compiling xenalyze with libcs that don't have argp built-in.
---
Cc: George Dunlap <[email protected]>
Cc: Wei Liu <[email protected]>
Cc: Ian Jackson <[email protected]>
--- tools/xentrace/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/xentrace/Makefile +1 -1
@@ -50,7 +50,7 @@ xentrace_setsize: setsize.o $(CC) $(LDFLAGS) -o $@ $< $(LDLIBS) $(APPEND_LDFLAGS) xenalyze: xenalyze.o mread.o - $(CC) $(LDFLAGS) -o $@ $^ $(APPEND_LDFLAGS) + $(CC) $(LDFLAGS) -o $@ $^ $(ARGP_LDFLAGS) $(APPEND_LDFLAGS) -include $(DEPS)
Signature · 7 lines
2.7.4 (Apple Git-66) _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Quoted 4 lines · Roger Pau Monne
This is a side-effect of commit c36e1c, which currently prevents compiling xenalyze with libcs that don't have argp built-in.
Signed-off-by Roger Pau Monné <[email protected]>
I don't have the expertise to know if this is the Right Way to solve this problem; but regarding the principle:
Quoted 14 lines
---
Cc: George Dunlap <[email protected]>
Cc: Wei Liu <[email protected]>
Cc: Ian Jackson <[email protected]>--- tools/xentrace/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/xentrace/Makefile +0
-0
tools/xentrace/Makefile xentrace_setsize: setsize.o · line 56
Quoted 8 lines
tools/xentrace/Makefile +1
-1@@ -50,7 +50,7 @@ xentrace_setsize: setsize.o $(CC) $(LDFLAGS) -o $@ $< $(LDLIBS) $(APPEND_LDFLAGS) xenalyze: xenalyze.o mread.o - $(CC) $(LDFLAGS) -o $@ $^ $(APPEND_LDFLAGS) + $(CC) $(LDFLAGS) -o $@ $^ $(ARGP_LDFLAGS) $(APPEND_LDFLAGS) -include $(DEPS)
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 4 lines · Roger Pau Monne
This is a side-effect of commit c36e1c, which currently prevents compiling xenalyze with libcs that don't have argp built-in.
Signed-off-by Roger Pau Monné <[email protected]>
Quoted 24 lines
---
Cc: George Dunlap <[email protected]>
Cc: Wei Liu <[email protected]>
Cc: Ian Jackson <[email protected]>--- tools/xentrace/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/xentrace/Makefile +1
-1@@ -50,7 +50,7 @@ xentrace_setsize: setsize.o $(CC) $(LDFLAGS) -o $@ $< $(LDLIBS) $(APPEND_LDFLAGS) xenalyze: xenalyze.o mread.o - $(CC) $(LDFLAGS) -o $@ $^ $(APPEND_LDFLAGS) + $(CC) $(LDFLAGS) -o $@ $^ $(ARGP_LDFLAGS) $(APPEND_LDFLAGS) -include $(DEPS)Signature · 1 line
2.7.4 (Apple Git-66)
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Queued.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel