diff options
author | Andrew Waterman <aswaterman@gmail.com> | 2019-01-15 11:31:27 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-15 11:31:27 -0800 |
commit | 66c13fd4a9c1c2eda51df35ddc13e095469faec7 (patch) | |
tree | ab87fa9f201640737681ea1e1b45eeed27e6c7f8 | |
parent | a02257a861a4d13f31868a27c197cfc5576101e1 (diff) | |
download | riscv-pk-66c13fd4a9c1c2eda51df35ddc13e095469faec7.zip riscv-pk-66c13fd4a9c1c2eda51df35ddc13e095469faec7.tar.gz riscv-pk-66c13fd4a9c1c2eda51df35ddc13e095469faec7.tar.bz2 |
Revert "Don't require a RISC-V libc and crt when configuring (#132)" (#140)
This reverts commit a02257a861a4d13f31868a27c197cfc5576101e1.
-rw-r--r-- | Makefile.in | 2 | ||||
-rwxr-xr-x | configure | 1 | ||||
-rw-r--r-- | configure.ac | 1 |
3 files changed, 1 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in index e41684e..376670d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -111,7 +111,7 @@ COMPILE := $(CC) -MMD -MP $(CFLAGS) \ # - LIBS : Library flags (eg. -l) LD := $(CC) -LDFLAGS := @LDFLAGS@ $(LDFLAGS) $(march) $(mabi) +LDFLAGS := @LDFLAGS@ -nostartfiles -nostdlib -static $(LDFLAGS) $(march) $(mabi) LIBS := @LIBS@ LINK := $(LD) $(LDFLAGS) @@ -2043,7 +2043,6 @@ 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' diff --git a/configure.ac b/configure.ac index 67734fd..917179f 100644 --- a/configure.ac +++ b/configure.ac @@ -48,7 +48,6 @@ AC_CANONICAL_HOST # Checks for programs #------------------------------------------------------------------------- -LDFLAGS="$LDFLAGS -nostartfiles -nostdlib -static" AC_PROG_CC AC_PROG_CXX AC_CHECK_TOOL([AR],[ar]) |