summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolai Merinov <n.merinov@samsung.com>2019-01-29 13:59:27 (GMT)
committerNikolai Merinov <n.merinov@samsung.com>2019-01-29 13:59:27 (GMT)
commit93c688d1e1f9616e9b749942fd9ae68ad6c03bb2 (patch)
tree5103bcd617ef104dbe0ca4ad54014c60915c42b4
parent3e574d9432e5d9d2dca42699bff4bf0967300004 (diff)
downloadcoreclr-93c688d1e1f9616e9b749942fd9ae68ad6c03bb2.zip
coreclr-93c688d1e1f9616e9b749942fd9ae68ad6c03bb2.tar.gz
coreclr-93c688d1e1f9616e9b749942fd9ae68ad6c03bb2.tar.bz2
Detect interpreter from echo instead of gccsandbox/nmerinov/llvm
-rwxr-xr-xpackaging/coreclr.spec6
1 files changed, 3 insertions, 3 deletions
diff --git a/packaging/coreclr.spec b/packaging/coreclr.spec
index 60ef571..4ccf547 100755
--- a/packaging/coreclr.spec
+++ b/packaging/coreclr.spec
@@ -122,9 +122,9 @@ EOF
%else
%ifarch %{arm} %{ix86}
%ifarch %{arm}
-# Detect interpreter name from cross-gcc
-LD_INTERPRETER=$(patchelf --print-interpreter /emul/usr/bin/gcc)
-LD_RPATH=$(patchelf --print-rpath /emul/usr/bin/gcc)
+# Detect interpreter name from echo
+LD_INTERPRETER=$(patchelf --print-interpreter /emul/usr/bin/echo)
+LD_RPATH=$(patchelf --print-rpath /emul/usr/bin/echo)
for file in $( find ./Tools -name "dotnet" -type f)
do
patchelf --set-interpreter ${LD_INTERPRETER} ${file}