summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyungju Lee <leee.lee@samsung.com>2020-05-26 08:56:29 +0900
committerAlexander Soldatov/AI Compiler Lab /SRR/Staff Engineer/Samsung Electronics <soldatov.a@samsung.com>2020-05-26 11:45:35 +0300
commit44a66c1bab7bd0d1d1ba8a85400a6504c56658e9 (patch)
tree41f7d3c0e7106a9a59bfa1c9e3e20e8b9980b6b9
parent51e4519f39c819a0f14350af4275f6a8a2293835 (diff)
downloadheaptrack-44a66c1bab7bd0d1d1ba8a85400a6504c56658e9.tar.gz
heaptrack-44a66c1bab7bd0d1d1ba8a85400a6504c56658e9.tar.bz2
heaptrack-44a66c1bab7bd0d1d1ba8a85400a6504c56658e9.zip
Remove from clang flags
Change-Id: I9567931db2df664310158871c4249da2cab9c60d
-rw-r--r--packaging/heaptrack.spec3
1 files changed, 3 insertions, 0 deletions
diff --git a/packaging/heaptrack.spec b/packaging/heaptrack.spec
index ad08fb1..3df5af1 100644
--- a/packaging/heaptrack.spec
+++ b/packaging/heaptrack.spec
@@ -82,6 +82,9 @@ export CFLAGS=`echo $CFLAGS | sed s/-Wa,-mimplicit-it=thumb\ //`
export CXXFLAGS=`echo $CXXLAGS | sed s/-Wa,-mimplicit-it=thumb\ //`
%endif
+export CFLAGS=$(echo $CFLAGS | sed 's/-flto//')
+export CXXFLAGS=$(echo $CXXFLAGS | sed 's/-flto//')
+
cd ../profiler
ROOTFS_DIR=/ \
CC=clang CXX=clang++ \