Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
3.8: remove hardcoded -I/usr/local/include from libtraceevent
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
- Loading branch information
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
37 changes: 37 additions & 0 deletions
37
patches/build/0003-libtraceevent-Remove-hard-coded-include-to-usr-local.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
From 3da938f1fe77fe7387b9349949a01671647bbd10 Mon Sep 17 00:00:00 2001 | ||
From: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk> | ||
Date: Fri, 8 Mar 2013 11:21:52 +0000 | ||
Subject: [PATCH 3/3] libtraceevent: Remove hard coded include to | ||
/usr/local/include in Makefile | ||
|
||
having /usr/local/include hardcoded into the makefile is not necessary | ||
as this is automatically included by GCC. It also infects cross-compile | ||
builds with the host systems includes. | ||
|
||
Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk> | ||
Acked-by: Namhyung Kim <namhyung@kernel.org> | ||
Cc: Ingo Molnar <mingo@redhat.com> | ||
Cc: Paul Mackerras <paulus@samba.org> | ||
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> | ||
Link: http://lkml.kernel.org/r/1362741712-21308-1-git-send-email-ml@communistcode.co.uk | ||
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> | ||
--- | ||
tools/lib/traceevent/Makefile | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/tools/lib/traceevent/Makefile b/tools/lib/traceevent/Makefile | ||
index a20e320..0b0a907 100644 | ||
--- a/tools/lib/traceevent/Makefile | ||
+++ b/tools/lib/traceevent/Makefile | ||
@@ -122,7 +122,7 @@ export Q VERBOSE | ||
|
||
EVENT_PARSE_VERSION = $(EP_VERSION).$(EP_PATCHLEVEL).$(EP_EXTRAVERSION) | ||
|
||
-INCLUDES = -I. -I/usr/local/include $(CONFIG_INCLUDES) | ||
+INCLUDES = -I. $(CONFIG_INCLUDES) | ||
|
||
# Set compile option CFLAGS if not set elsewhere | ||
CFLAGS ?= -g -Wall | ||
-- | ||
1.8.1.4 | ||
|