sunrpc: Test case for clnt_create "unix" buffer overflow (bug 22542)
[glibc.git] / sysdeps / riscv / configure
blob4a56fca94baa2c42ce19168740b500bf23f07f29
1 # This file is generated from configure.ac by Autoconf.  DO NOT EDIT!
2  # Local configure fragment for sysdeps/riscv/elf.
4 $as_echo "#define PI_STATIC_AND_HIDDEN 1" >>confdefs.h
7 # Check if static linker supports R_RISCV_ALIGN
8 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for R_RISCV_ALIGN linker relaxation support" >&5
9 $as_echo_n "checking for R_RISCV_ALIGN linker relaxation support... " >&6; }
10 if ${libc_cv_riscv_r_align+:} false; then :
11   $as_echo_n "(cached) " >&6
12 else
13     cat > conftest.S <<EOF
14 .align 3
15 foo:
16   li a0,42
17   ret
18 EOF
19   libc_cv_riscv_r_align=no
20   if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -nostdlib -nostartfiles $no_ssp -shared -fPIC -o contests.o conftest.S'
21   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
22   (eval $ac_try) 2>&5
23   ac_status=$?
24   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25   test $ac_status = 0; }; }
26   then
27     libc_cv_riscv_r_align=yes
28   fi
29   rm -rf conftest.*
31 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_riscv_r_align" >&5
32 $as_echo "$libc_cv_riscv_r_align" >&6; }
33 config_vars="$config_vars
34 riscv-r-align = $libc_cv_riscv_r_align"