summaryrefslogtreecommitdiff
path: root/client/icecc-create-env
diff options
context:
space:
mode:
Diffstat (limited to 'client/icecc-create-env')
-rwxr-xr-xclient/icecc-create-env17
1 files changed, 13 insertions, 4 deletions
diff --git a/client/icecc-create-env b/client/icecc-create-env
index 96ade91..e185636 100755
--- a/client/icecc-create-env
+++ b/client/icecc-create-env
@@ -100,9 +100,17 @@ if ! test -x "$added_gxx" ; then
exit 1
fi
+# Tizen
+added_as=/usr/bin/as
+if test -n /emul/$added_gcc && test -n /emul/$added_gxx && test -n /emul/$added_as ; then
+ added_gcc=/emul/$added_gcc
+ added_gxx=/emul/$added_gxx
+ added_as=/emul/$added_as
+fi
+
add_file $added_gcc /usr/bin/gcc
add_file $added_gxx /usr/bin/g++
-add_file /usr/bin/as
+add_file $added_as /usr/bin/as
if test "$is_darwin" = 1; then
# add dynamic linker
@@ -160,9 +168,10 @@ for i in $target_files; do
esac
mkdir -p $tempdir/`dirname $target`
cp -p $path $tempdir/$target
- if test -f $tempdir/$target -a -x $tempdir/$target; then
- strip -s $tempdir/$target 2>/dev/null
- fi
+ # Bug in binutils, see https://bugs.tizen.org/jira/browse/TINF-1404
+ # if test -f $tempdir/$target -a -x $tempdir/$target; then
+ # strip -s $tempdir/$target 2>/dev/null
+ # fi
target=`echo $target | cut -b2-`
new_target_files="$new_target_files $target"
done