aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJames Clarke <jrtc27@jrtc27.com>2019-01-05 02:09:36 +0000
committerAndrew Waterman <aswaterman@gmail.com>2019-01-04 18:09:36 -0800
commita02257a861a4d13f31868a27c197cfc5576101e1 (patch)
tree25ba35426e7d539116a5bc7e42ed9de9905e0c6f /configure
parent31e531b2b4afe8ec5e08d700727afdbbbe45bf34 (diff)
downloadriscv-pk-a02257a861a4d13f31868a27c197cfc5576101e1.zip
riscv-pk-a02257a861a4d13f31868a27c197cfc5576101e1.tar.gz
riscv-pk-a02257a861a4d13f31868a27c197cfc5576101e1.tar.bz2
Don't require a RISC-V libc and crt when configuring (#132)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index b001ba3..9f5a31b 100755
--- a/configure
+++ b/configure
@@ -2043,6 +2043,7 @@ case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
# Checks for programs
#-------------------------------------------------------------------------
+LDFLAGS="$LDFLAGS -nostartfiles -nostdlib -static"
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'