commit | fa21d3ac8a705d5ce8f241bb453de40ea2027661 | [log] [tgz] |
---|---|---|
author | Steven Rostedt <rostedt@goodmis.org> | Wed Jul 24 19:07:58 2019 -0400 |
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | Wed Jul 24 20:40:36 2019 -0400 |
tree | 382c43d2e9eb007b35659ff49fe3dd78f5a30f2e | |
parent | 2ac4b47aa03c65f203b00c34a25cc8b9a9cd9368 [diff] |
trace-cmd: Only add udis86 CFLAGS and LDFLAGS if it is found As we need to update both LDFLAGS and CFLAGS, move the test to see if udisc86 is installed to a variable, and then set NO_UDIS86 if it is not found. This way we do not need to test if it exists twice, nor have LDFLAGS set unconditionally. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=204277 Link: http://lore.kernel.org/linux-trace-devel/20190724190758.4e18498f@gandalf.local.home Reported-by: howaboutsynergy@pm.me Tested-by: Patrick McLean <patrick.mclean@sony.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>