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 | |
parent | 4a8de9ed7285bb497bc236aec9319bc639b9f114 (diff) | |
download | pk-0bdb8c84092bf7c5eb4c981c620997a5893bfb70.zip pk-0bdb8c84092bf7c5eb4c981c620997a5893bfb70.tar.gz pk-0bdb8c84092bf7c5eb4c981c620997a5893bfb70.tar.bz2 |
Fixed -lgcc bug in configure.ac (needed for -m32)
-rwxr-xr-x | configure | 4 | ||||
-rw-r--r-- | configure.ac | 3 |
2 files changed, 2 insertions, 5 deletions
@@ -3953,9 +3953,7 @@ fi CFLAGS="-Wall -Os -std=gnu99 -Wno-unused" -LIBS="-lgcc" - -LIBS="-lc" +LIBS="-lc -lgcc" 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]) |