summaryrefslogtreecommitdiff
path: root/tests/rm/r-root.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rm/r-root.sh')
-rwxr-xr-xtests/rm/r-root.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rm/r-root.sh b/tests/rm/r-root.sh
index 06e57696c..04a88eb27 100755
--- a/tests/rm/r-root.sh
+++ b/tests/rm/r-root.sh
@@ -60,7 +60,7 @@ int unlinkat (int dirfd, const char *pathname, int flags)
EOF
# Then compile/link it:
-gcc -Wall --std=gnu99 -shared -fPIC -ldl -O2 k.c -o k.so \
+gcc_shared_ k.c k.so \
|| framework_failure_ 'failed to build shared library'
#-------------------------------------------------------------------------------