diff options
-rw-r--r-- | packaging/icecream.spec | 9 |
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/ |