summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpark <sk7.park@samsung.com>2016-09-08 18:58:18 -0700
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>2016-09-08 18:58:19 -0700
commit1f588b8959a1726ff59804d3122f43fe2f5838a2 (patch)
treef2354551c407fd343d0ba55858759a05bd7f0760
parent78d826e061930de5e13afc6e8a538c5802eecc36 (diff)
parentec58bd1a597a0d1fcb697125667592d535ede2cf (diff)
downloadicecream-accepted/tizen_5.5_base.tar.gz
icecream-accepted/tizen_5.5_base.tar.bz2
icecream-accepted/tizen_5.5_base.zip
Merge "icecream.spec: also add link to clang, clang++ and armv7l-tizen-linux-gnueabi-gcc" into tizen_basetizen_7.0_m2_releasetizen_6.5.m2_releasetizen_6.0.m2_releasetizen_5.5.m2_releasetizen_4.0.m2_releasetizen_4.0.m1_releasetizen_4.0.IoT.p2_releasetizen_4.0.IoT.p1_releasesubmit/tizen_base/20160909.060121submit/tizen_7.0_base_hotfix/20221115.161601submit/tizen_7.0_base/20221028.201101submit/tizen_6.5_base/20211027.200601submit/tizen_6.5_base/20211027.183101submit/tizen_6.5_base/20211026.180901submit/tizen_6.0_base_hotfix/20201102.162701submit/tizen_6.0_base_hotfix/20201030.192501submit/tizen_6.0_base/20201029.184801submit/tizen_5.5_base_wearable_hotfix/20201023.155601submit/tizen_5.5_base_mobile_hotfix/20201023.171501submit/tizen_5.5_base/20191030.000001submit/tizen_5.0_base/20181101.000001submit/tizen_4.0_base/20170828.000001submit/tizen_4.0_base/20170828.000000submit/tizen_4.0_base/20170811.071500submit/tizen_3.0_base/20161028.062323submit/tizen_3.0.m2_base/20170104.073748accepted/tizen/base/20160909.122516accepted/tizen/7.0/base/tool/hotfix/20221115.084831accepted/tizen/7.0/base/tool/20221028.120351accepted/tizen/7.0/base/hotfix/20230714.003744accepted/tizen/7.0/base/20230714.002929accepted/tizen/6.5/base/tool/20211027.115416accepted/tizen/6.5/base/20230714.002521accepted/tizen/6.0/base/tool/hotfix/20201102.090144accepted/tizen/6.0/base/tool/hotfix/20201030.124917accepted/tizen/6.0/base/tool/20201029.112108accepted/tizen/6.0/base/20230713.142856accepted/tizen/6.0/base/20201029.110720accepted/tizen/5.5/base/wearable/hotfix/20201023.081011accepted/tizen/5.5/base/mobile/hotfix/20201023.084625accepted/tizen/5.5/base/20191030.082459accepted/tizen/5.0/base/20181101.090506accepted/tizen/4.0/base/20170828.221117accepted/tizen/4.0/base/20170811.092744accepted/tizen/3.0/base/20161028.102914accepted/tizen/3.0.m2/base/20170104.081912tizen_7.0_base_hotfixtizen_7.0_basetizen_6.5_basetizen_6.0_base_hotfixtizen_6.0_basetizen_5.5_tvtizen_5.5_base_wearable_hotfixtizen_5.5_base_mobile_hotfixtizen_5.5_basetizen_5.0_basetizen_4.0_tvtizen_4.0_basetizen_3.0_basetizen_3.0.m2_baseaccepted/tizen_7.0_base_tool_hotfixaccepted/tizen_7.0_base_toolaccepted/tizen_7.0_base_hotfixaccepted/tizen_7.0_baseaccepted/tizen_6.5_base_toolaccepted/tizen_6.5_baseaccepted/tizen_6.0_base_tool_hotfixaccepted/tizen_6.0_base_toolaccepted/tizen_6.0_baseaccepted/tizen_5.5_base_wearable_hotfixaccepted/tizen_5.5_base_mobile_hotfixaccepted/tizen_5.5_baseaccepted/tizen_5.0_baseaccepted/tizen_4.0_baseaccepted/tizen_3.0_baseaccepted/tizen_3.0.m2_base
-rw-r--r--packaging/icecream.spec9
1 files changed, 8 insertions, 1 deletions
diff --git a/packaging/icecream.spec b/packaging/icecream.spec
index 42baa29..3eb41a2 100644
--- a/packaging/icecream.spec
+++ b/packaging/icecream.spec
@@ -60,10 +60,17 @@ make %{?jobs:-j %jobs}
%install
make DESTDIR=$RPM_BUILD_ROOT install
mkdir -p $RPM_BUILD_ROOT/opt/icecream/bin
-for i in g++ gcc cc c++; do
+for i in g++ gcc cc c++ clang clang++; do
ln -s /usr/bin/icecc $RPM_BUILD_ROOT/opt/icecream/bin/$i
rm -f $RPM_BUILD_ROOT/usr/bin/$i
done
+%ifarch armv7l
+ln -s /usr/bin/icecc $RPM_BUILD_ROOT/opt/icecream/bin/armv7l-tizen-linux-gnueabi-gcc
+%endif
+%ifarch aarch64
+ln -s /usr/bin/icecc $RPM_BUILD_ROOT/opt/icecream/bin/aarch64-tizen-linux-gnueabi-gcc
+%endif
+
#
# Install icecream init script
mkdir -p $RPM_BUILD_ROOT/etc/init.d/