summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Kurinnoi <m.kurinnoi@samsung.com>2020-05-21 00:33:11 +0300
committer이형주/Common Platform Lab(SR)/Staff Engineer/삼성전자 <leee.lee@samsung.com>2020-05-22 09:19:18 +0900
commit51e4519f39c819a0f14350af4275f6a8a2293835 (patch)
tree914bda3a24a5b1fe635fbd2ecd766d83b5b7e73c
parent87ab26887606066c30e651b452d8a357b13fe568 (diff)
downloadheaptrack-51e4519f39c819a0f14350af4275f6a8a2293835.tar.gz
heaptrack-51e4519f39c819a0f14350af4275f6a8a2293835.tar.bz2
heaptrack-51e4519f39c819a0f14350af4275f6a8a2293835.zip
Fix CXXFLAGS.asoldatov-test
-rw-r--r--packaging/heaptrack.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/packaging/heaptrack.spec b/packaging/heaptrack.spec
index 6d0e5b4..ad08fb1 100644
--- a/packaging/heaptrack.spec
+++ b/packaging/heaptrack.spec
@@ -47,6 +47,11 @@ echo %{_target_arch}
echo %{_target_os}
echo %{_target_platform}
+%ifarch %{ix86}
+export CFLAGS=$(echo $CFLAGS | sed -e 's/-mstackrealign//')
+export CXXFLAGS=$(echo $CXXFLAGS | sed -e 's/-mstackrealign//')
+%endif
+
%define _heaptrack_build_conf RelWithDebInfo
%define _coreclr_devel_directory %{_datarootdir}/%{netcoreappdir}