summaryrefslogtreecommitdiff
path: root/tests/cp/nfs-removal-race.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cp/nfs-removal-race.sh')
-rwxr-xr-xtests/cp/nfs-removal-race.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cp/nfs-removal-race.sh b/tests/cp/nfs-removal-race.sh
index 0638db1ee..6969e8bd3 100755
--- a/tests/cp/nfs-removal-race.sh
+++ b/tests/cp/nfs-removal-race.sh
@@ -58,7 +58,7 @@ __xstat (int ver, const char *path, struct stat *st)
EOF
# Then compile/link it:
-$CC -shared -fPIC -O2 k.c -o k.so -ldl \
+gcc_shared_ k.c k.so \
|| framework_failure_ 'failed to build shared library'
touch d2 || framework_failure_