aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYordan Karadzhov <ykaradzhov@vmware.com>2019-06-14 13:26:54 +0000
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2019-07-05 12:49:58 -0400
commit180bc039a5d8b6b0a34ab34d87d399c90964f58a (patch)
treed1e2feead4106c8a5abd8683810c27769d99bff6
parent7b0abc9a4168a8fe0a258e0ec76b3173215ab019 (diff)
downloadtrace-cmd-180bc039a5d8b6b0a34ab34d87d399c90964f58a.tar.gz
kernel-shark: Remove the "-g" compiler flag.
The debug flags by design embed the build paths, but the distro package binaries should not have such paths embedded in them. Link: http://lore.kernel.org/linux-trace-devel/20190614132609.16465-2-ykaradzhov@vmware.com Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=203187 Suggested-by: Troy Engel <troyengel@gmail.com> Signed-off-by: Yordan Karadzhov <ykaradzhov@vmware.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
-rw-r--r--kernel-shark/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel-shark/CMakeLists.txt b/kernel-shark/CMakeLists.txt
index 145b0582..64124b0e 100644
--- a/kernel-shark/CMakeLists.txt
+++ b/kernel-shark/CMakeLists.txt
@@ -33,8 +33,8 @@ endif (Qt5Widgets_FOUND)
set(LIBRARY_OUTPUT_PATH "${KS_DIR}/lib")
set(EXECUTABLE_OUTPUT_PATH "${KS_DIR}/bin")
-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -g -pthread -fPIC")
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -g -std=c++11 -pthread -fPIC")
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -pthread -fPIC")
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=c++11 -pthread -fPIC")
if(NOT _INSTALL_PREFIX)
set(_INSTALL_PREFIX "/usr/local")