[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161017141712.11932-1-hong.gyu.kim@lge.com>
Date: Mon, 17 Oct 2016 23:17:10 +0900
From: Honggyu Kim <hong.gyu.kim@....com>
To: <namhyung@...nel.org>
CC: <linux-kernel@...r.kernel.org>, Honggyu Kim <hong.gyu.kim@....com>
Subject: [PATCH 1/3] tools lib traceevent: Add -O2 option to traceevent
Since current traceevent somehow does not have an optimization flag,
this patch just adds -O2 to optimize its code.
Signed-off-by: Honggyu Kim <hong.gyu.kim@....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 7851df1..56d223b 100644
--- a/tools/lib/traceevent/Makefile
+++ b/tools/lib/traceevent/Makefile
@@ -124,7 +124,7 @@ else
endif
# Append required CFLAGS
-override CFLAGS += -fPIC
+override CFLAGS += -O2 -fPIC
override CFLAGS += $(CONFIG_FLAGS) $(INCLUDES) $(PLUGIN_DIR_SQ)
override CFLAGS += $(udis86-flags) -D_GNU_SOURCE
--
2.10.0.rc2.dirty
Powered by blists - more mailing lists