Browse Source

Fixed -lgcc bug in configure.ac (needed for -m32)

pull/2/head
Christopher Celio 13 years ago
parent
commit
0bdb8c8409
  1. 4
      configure
  2. 3
      configure.ac

4
configure

@ -3953,9 +3953,7 @@ fi
CFLAGS="-Wall -Os -std=gnu99 -Wno-unused"
LIBS="-lgcc"
LIBS="-lc"
LIBS="-lc -lgcc"

3
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])

Loading…
Cancel
Save