Skip to content
Snippets Groups Projects
Commit 55f333e7 authored by Bruce Ashfield's avatar Bruce Ashfield
Browse files

perf: temporary gcc 4.7 build fixes


1/1 [
Author: Bruce Ashfield
Email: bruce.ashfield@windriver.com
Subject: perf: temporary gcc 4.7 build fixes
Date: Sun, 9 Sep 2012 13:47:36 -0400

Signed-off-by: default avatarBruce Ashfield <bruce.ashfield@windriver.com>
]

Signed-off-by: default avatarBruce Ashfield <bruce.ashfield@windriver.com>
parent 50fd3a8c
No related branches found
No related tags found
No related merge requests found
From dd109757a9eb5f62938cd336143a5495dc33bd8a Mon Sep 17 00:00:00 2001
From: Bruce Ashfield <bruce.ashfield@windriver.com>
Date: Sun, 9 Sep 2012 13:47:36 -0400
Subject: [PATCH] perf: temporary gcc 4.7 build fixes
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
---
tools/lib/traceevent/Makefile | 2 +-
tools/perf/Makefile | 2 ++
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/tools/lib/traceevent/Makefile b/tools/lib/traceevent/Makefile
index 14131cb..b13c7a6 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. -I=/usr/local/include $(CONFIG_INCLUDES)
# Set compile option CFLAGS if not set elsewhere
CFLAGS ?= -g -Wall
diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index c62ef32..93fd9b0 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -72,9 +72,11 @@ ifeq ($(ARCH),x86_64)
endif
# Treat warnings as errors unless directed not to
+#if 0
ifneq ($(WERROR),0)
CFLAGS_WERROR := -Werror
endif
+#endif
ifeq ("$(origin DEBUG)", "command line")
PERF_DEBUG = $(DEBUG)
--
1.7.5.4
......@@ -5,3 +5,4 @@ patch perf-add-libperl-not-found-warning.patch
patch perf-change-root-to-prefix-for-python-install.patch
patch perf-add-sgidefs.h-to-for-mips-builds.patch
patch perf-add-SLANG_INC-for-slang.h.patch
patch perf-temporary-gcc-4.7-build-fixes.patch
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment