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
13 cat > conftest.S <<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
24 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25 test $ac_status = 0; }; }
27 libc_cv_riscv_r_align=yes
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"