diff options
author | Christopher Celio <celio@eecs.berkeley.edu> | 2013-07-01 16:08:20 -0700 |
---|---|---|
committer | Christopher Celio <celio@eecs.berkeley.edu> | 2013-07-01 16:08:20 -0700 |
commit | 0bdb8c84092bf7c5eb4c981c620997a5893bfb70 (patch) | |
tree | 626fcccb06a3752a75af5e012c43242eab811ea4 /configure.ac | |
parent | 4a8de9ed7285bb497bc236aec9319bc639b9f114 (diff) | |
download | riscv-pk-0bdb8c84092bf7c5eb4c981c620997a5893bfb70.zip riscv-pk-0bdb8c84092bf7c5eb4c981c620997a5893bfb70.tar.gz riscv-pk-0bdb8c84092bf7c5eb4c981c620997a5893bfb70.tar.bz2 |
Fixed -lgcc bug in configure.ac (needed for -m32)
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index f18d6b4..185237a 100644 --- a/configure.ac +++ b/configure.ac @@ -72,8 +72,7 @@ AC_HEADER_STDC #------------------------------------------------------------------------- AC_SUBST([CFLAGS], ["-Wall -Os -std=gnu99 -Wno-unused"]) -AC_SUBST([LIBS], ["-lgcc"]) -AC_SUBST([LIBS], ["-lc"]) +AC_SUBST([LIBS], ["-lc -lgcc"]) AX_DEFAULT_CONFIGURE_ARG([--host=riscv]) |