about summary refs log tree commit diff
path: root/sysdeps/i386/configure
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/i386/configure')
-rw-r--r--sysdeps/i386/configure7
1 files changed, 4 insertions, 3 deletions
diff --git a/sysdeps/i386/configure b/sysdeps/i386/configure
index 84656cef6e..a618692adf 100644
--- a/sysdeps/i386/configure
+++ b/sysdeps/i386/configure
@@ -61,8 +61,8 @@ printf %s "checking for linker static PIE support... " >&6; }
 if test ${libc_cv_ld_static_pie+y}
 then :
   printf %s "(cached) " >&6
-else $as_nop
-  cat > conftest.s <<\EOF
+else case e in #(
+  e) cat > conftest.s <<\EOF
 	.text
 	.global _start
 _start:
@@ -80,7 +80,8 @@ EOF
       libc_cv_ld_static_pie=yes
     fi
   fi
-rm -f conftest*
+rm -f conftest* ;;
+esac
 fi
 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libc_cv_ld_static_pie" >&5
 printf "%s\n" "$libc_cv_ld_static_pie" >&6; }