File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -6,17 +6,19 @@ READELF=${READELF:-readelf}
6
6
7
7
EXEC_NAME=" overlapping-segments-after-rounding"
8
8
9
- rm -rf " ${SCRATCH} "
10
- mkdir -p " ${SCRATCH} "
9
+ if test " $( uname -i) " = x86_64; then
10
+ rm -rf " ${SCRATCH} "
11
+ mkdir -p " ${SCRATCH} "
11
12
12
- cp " ${srcdir} /${EXEC_NAME} .xz" ${SCRATCH} /
13
- cd ${SCRATCH}
14
- xz --decompress " ${EXEC_NAME} .xz"
13
+ cp " ${srcdir} /${EXEC_NAME} .xz" ${SCRATCH} /
14
+ cd ${SCRATCH}
15
+ xz --decompress " ${EXEC_NAME} .xz"
15
16
16
- ${PATCHELF} --force-rpath --remove-rpath --output modified1 " ${EXEC_NAME} "
17
+ ${PATCHELF} --force-rpath --remove-rpath --output modified1 " ${EXEC_NAME} "
17
18
18
- ldd modified1
19
+ ldd modified1
19
20
20
- ${PATCHELF} --force-rpath --set-rpath " xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" --output modified2 modified1
21
+ ${PATCHELF} --force-rpath --set-rpath " xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" --output modified2 modified1
21
22
22
- ldd modified2
23
+ ldd modified2
24
+ fi
You can’t perform that action at this time.
0 commit comments